aboutsummaryrefslogtreecommitdiff
path: root/build_odin.sh
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-08-07 14:50:45 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2024-08-07 14:50:45 +0200
commit69a15ca5b61e531e3f873ae84335e7d253217f15 (patch)
tree71cb7cda25d5473e8b6c63842c177d78899c82f2 /build_odin.sh
parent6fe938b946dc2be977c8b94f754b84bb8c42f440 (diff)
Don't copy LLVM shared object on Linux
We copy the LLVM shared object when building Odin on Linux. Contrary the comment in `build_odin.sh`, this is unnecessary, and Odin can be compiled and itself compile things just fine without this step. This is then packaged up at release and leads to #4019 and #4033. The Linux release builds are built on Ubuntu and not strictly supported on other Linux distributions. Building from source is preferred.
Diffstat (limited to 'build_odin.sh')
-rwxr-xr-xbuild_odin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_odin.sh b/build_odin.sh
index 125b9335a..066f48c20 100755
--- a/build_odin.sh
+++ b/build_odin.sh
@@ -95,7 +95,7 @@ Linux)
LDFLAGS="$LDFLAGS -ldl $($LLVM_CONFIG --libs core native --system-libs --libfiles)"
# Copy libLLVM*.so into current directory for linking
# NOTE: This is needed by the Linux release pipeline!
- cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./
+ # cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./
LDFLAGS="$LDFLAGS -Wl,-rpath=\$ORIGIN"
;;
OpenBSD)