diff --git a/programming/misc/openmp/actions.py b/programming/misc/openmp/actions.py index 7cb777c221..aa9cacdba6 100644 --- a/programming/misc/openmp/actions.py +++ b/programming/misc/openmp/actions.py @@ -13,6 +13,10 @@ from pisi.actionsapi import pisitools def setup(): + shelltools.export("CC", "clang") + shelltools.export("CXX", "clang++") + pisitools.ldflags.add("-fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++") + options = "-DCMAKE_BUILD_TYPE=Release \ -DLIBOMP_ENABLE_ASSERTIONS=ON \ -DLIBOMP_ENABLE_SHARED=ON \ @@ -20,15 +24,15 @@ def setup(): " if get.buildTYPE() == "emul32": - shelltools.export("CC", "clang -fuse-ld=lld -rtlib=compiler-rt -m32") - shelltools.export("CXX", "clang++ -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++ -m32") - options = " -DOPENMP_LIBDIR_SUFFIX=32 \ + pisitools.cflags.add("-m32") + pisitools.cxxflags.add("-m32") + options += " -DOPENMP_LIBDIR_SUFFIX=32 \ " else: - shelltools.export("CC", "clang -fuse-ld=lld -rtlib=compiler-rt") - shelltools.export("CXX", "clang++ -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++") - options = "-DOPENMP_LIBDIR_SUFFIX= \ - " + pisitools.cflags.add("-m64") + pisitools.cxxflags.add("-m64") + options += "-DOPENMP_LIBDIR_SUFFIX= \ + " cmaketools.configure(options) diff --git a/programming/misc/openmp/pspec.xml b/programming/misc/openmp/pspec.xml index 8048974ff5..bb17ca9f25 100644 --- a/programming/misc/openmp/pspec.xml +++ b/programming/misc/openmp/pspec.xml @@ -12,7 +12,7 @@ library LLVM OpenMP runtime library openmp provides runtime for OpenMP by LLVM - https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/openmp-9.0.1.src.tar.xz + https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/openmp-10.0.0.src.tar.xz llvm llvm-libs @@ -63,15 +63,15 @@ /usr/include /usr/lib/pkgconfig - /usr/lib32/pkgconfig/poppler.pc + /usr/lib32/pkgconfig - 2020-01-23 - 9.0.1 + 2020-03-28 + 10.0.0 First release Idris Kalp idriskalp@gmail.com