diff --git a/9_multisource/Makefile b/9_multisource/Makefile index d0bbe84..1d59b5e 100644 --- a/9_multisource/Makefile +++ b/9_multisource/Makefile @@ -8,6 +8,9 @@ clean: lib.exe: myblas.o multisource.o ../dockerscript.sh clang-12 -fuse-ld=lld -flto /host/myblas.o /host/multisource.o -O2 -ffast-math -o /host/$@ -Wl,-mllvm=-load=/Enzyme/enzyme/build/Enzyme/LLDEnzyme-12.so +# for more recent LLVM versions (tested with v16.0.2) you have to do something like the following (using my tested, non-docker based install, extension to Docker is obvious but +# I am not posting it since I cannot test it) +# clang -fuse-ld=lld -flto ./myblas.o ./multisource.o -O2 -ffast-math -o ./$@ -Wl,--load-pass-plugin=../../Enzyme/enzyme/build/Enzyme/LLDEnzyme-16.so run-%: %.exe ../dockerscript.sh /host/$^ 3