JonPsson1 wrote: > -DLLVM_RUNTIME_TARGETS
Thanks. If I use cmake with -DLLVM_RUNTIME_TARGETS=systemz, and then rebuild, I see one more file being built: ``` ninja [6/6] Linking CXX shared library lib/clang/20/lib/s390x-unknown-linux-gnu/libclang_rt.asan.so ``` However it does not seem to be quite the file that I need to run my program: ``` ./bin/clang -target s390x-linux-gnu -march=z16 ./test4.c -O3 -o ./a.out --rtlib=compiler-rt /usr/bin/ld: cannot find /home/ijonpan/llvm-project/build/lib/clang/20/lib/s390x-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` Even so, I don't understand why this wouldn't follow if I enable compiler-rt as a project... https://github.com/llvm/llvm-project/pull/109164 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits