Remove openmp from depends_on_projects, as it incorrectly builds amdgpu runtime stack corruption at runtime.
We need to use -DLLVM_ENABLE_RUNTIMES=openmp instead, and its presence conflicts if openmp is present.
Also adding "-DCLANG_DEFAULT_LINKER=lld" as it seems harmless.
Adding 'lld' to depends_on_projects so it gets built.
Details
Details
Diff Detail
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
Comment Actions
The enable_runtimes=['openmp'], parameter already sets -DLLVM_ENABLE_RUNTIMES=openmp (and ensures that changes to openmp triggers a build). Do not add it separately.
If you do not want support a LLVM_ENABLE_PROJECT=openmp build, remove the openmp-offload-amdgpu-project builder instead. There is no point in two builders doing the same thing.
Comment Actions
i reverted it, sent email to galina requesting update to master. and requested info on a better way to test locally ...