openmp fix

This commit is contained in:
idriskalp
2020-01-23 19:43:54 +03:00
parent af915cd067
commit ada96e24aa
+5 -5
View File
@@ -13,9 +13,6 @@ from pisi.actionsapi import pisitools
def setup():
shelltools.export("CC", "clang -fuse-ld=lld -rtlib=compiler-rt")
shelltools.export("CXX", "clang++ -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++")
options = "-DCMAKE_BUILD_TYPE=Release \
-DLIBOMP_ENABLE_ASSERTIONS=ON \
-DLIBOMP_ENABLE_SHARED=ON \
@@ -23,11 +20,14 @@ 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 \
"
else:
options = "-DOPENMP_LIBDIR_SUFFIX= \
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= \
"
cmaketools.configure(options)