[Openmp-commits] [llvm] [openmp] [offload][openmp] - Remove standalone build in favor of 'runtimes' (PR #170693)

Michał Górny via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 7 11:58:30 PST 2026


mgorny wrote:

Comparing the command without (`-`) and with (`+`) the patch (spaces replaced with newlines):

```diff
-/usr/lib/ccache/bin/aarch64-unknown-linux-gnu-clang++
--fopenmp
+/usr/lib/llvm/22/bin/clang++
 
 
 
 -I
 /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test
 -I
-/usr/include
+
 -L
 /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload
 -L
-/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/./lib64
+/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload
 -L
 /usr/lib/llvm/22/lib64
--L
-/usr/lib64
 
 -nogpulib
 -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload
--Wl,-rpath,/usr/lib64
--Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/./lib64
+-Wl,-rpath,
+-Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload
 -Wl,-rpath,/usr/lib/llvm/22/lib64
 
 -fopenmp-targets=aarch64-unknown-linux-gnu
@@ -29,5 +26,3 @@
 -O3
 &&
 /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/offloading/Output/complex_reduction.cpp.tmp
```

So, it's missing `-fopenmp` and getting a bunch of empty paths that are messing up options.

https://github.com/llvm/llvm-project/pull/170693


More information about the Openmp-commits mailing list