diff --git a/.gitignore b/.gitignore index deccccbbd..67314e23a 100644 --- a/.gitignore +++ b/.gitignore @@ -271,7 +271,7 @@ odin odin.dSYM *.bin demo.bin -libLLVM*.so +libLLVM*.so* # shared collection shared/ diff --git a/build_odin.sh b/build_odin.sh index b7462106b..4d2e461dd 100755 --- a/build_odin.sh +++ b/build_odin.sh @@ -100,7 +100,11 @@ config_linux() { LDFLAGS="$LDFLAGS -ldl" CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)" LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs --libfiles) -Wl,-rpath=\$ORIGIN" - cp $($LLVM_CONFIG --libfiles) ./ + + # Creates a copy of the llvm library in the build dir, this is meant to support compiler explorer. + # The annoyance is that this copy can be cluttering the development folder. TODO: split staging folders + # for development and compiler explorer builds + cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./ } build_odin() {