* Disable openmp on loong64 (ld: cannot find -lomptarget.rtl.host).

This commit is contained in:
Matthias Klose 2024-08-31 20:29:03 +02:00
parent c121d91f1c
commit 9947c34d08
3 changed files with 4 additions and 3 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
llvm-toolchain-19 (1:19.1.0~++rc3-3) UNRELEASED; urgency=medium llvm-toolchain-19 (1:19.1.0~++rc3-3) UNRELEASED; urgency=medium
* Also explicitly link with -latomic on mips64el. * Also explicitly link with -latomic on mips64el.
* Disable openmp on loong64 (ld: cannot find -lomptarget.rtl.host).
-- Matthias Klose <doko@debian.org> Sat, 31 Aug 2024 20:22:25 +0200 -- Matthias Klose <doko@debian.org> Sat, 31 Aug 2024 20:22:25 +0200

4
debian/control vendored
View File

@ -625,7 +625,7 @@ Description: Next generation, high-performance debugger, header files
Package: libomp-19-dev Package: libomp-19-dev
Section: libdevel Section: libdevel
Architecture: amd64 arm64 armhf loong64 ppc64 ppc64el Architecture: amd64 arm64 armhf ppc64 ppc64el
Depends: libomp5-19 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Depends: libomp5-19 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: libomp-19-doc Suggests: libomp-19-doc
Breaks: libiomp-dev (<< 3.7-1) Breaks: libiomp-dev (<< 3.7-1)
@ -639,7 +639,7 @@ Description: LLVM OpenMP runtime - dev package
Package: libomp5-19 Package: libomp5-19
Multi-Arch: same Multi-Arch: same
Architecture: amd64 arm64 armhf loong64 ppc64 ppc64el Architecture: amd64 arm64 armhf ppc64 ppc64el
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: ${t64:Provides}, libomp-x.y Provides: ${t64:Provides}, libomp-x.y
Conflicts: libomp-x.y Conflicts: libomp-x.y

2
debian/rules vendored
View File

@ -410,7 +410,7 @@ else
endif endif
# Enable openmp (or not) # Enable openmp (or not)
OMP_ARCHS = amd64 arm64 armhf loong64 ppc64 ppc64el OMP_ARCHS = amd64 arm64 armhf ppc64 ppc64el
OPENMP_ENABLE=yes OPENMP_ENABLE=yes
ifeq (,$(filter $(DEB_HOST_ARCH), $(OMP_ARCHS))) ifeq (,$(filter $(DEB_HOST_ARCH), $(OMP_ARCHS)))
OPENMP_ENABLE=no OPENMP_ENABLE=no