openmp 10.0.0

This commit is contained in:
idriskalp
2020-03-28 16:20:28 +03:00
parent 5b274d8c44
commit 105cdeed53
2 changed files with 15 additions and 11 deletions
+11 -7
View File
@@ -13,6 +13,10 @@ from pisi.actionsapi import pisitools
def setup(): 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 \ options = "-DCMAKE_BUILD_TYPE=Release \
-DLIBOMP_ENABLE_ASSERTIONS=ON \ -DLIBOMP_ENABLE_ASSERTIONS=ON \
-DLIBOMP_ENABLE_SHARED=ON \ -DLIBOMP_ENABLE_SHARED=ON \
@@ -20,15 +24,15 @@ def setup():
" "
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
shelltools.export("CC", "clang -fuse-ld=lld -rtlib=compiler-rt -m32") pisitools.cflags.add("-m32")
shelltools.export("CXX", "clang++ -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++ -m32") pisitools.cxxflags.add("-m32")
options = " -DOPENMP_LIBDIR_SUFFIX=32 \ options += " -DOPENMP_LIBDIR_SUFFIX=32 \
" "
else: else:
shelltools.export("CC", "clang -fuse-ld=lld -rtlib=compiler-rt") pisitools.cflags.add("-m64")
shelltools.export("CXX", "clang++ -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++") pisitools.cxxflags.add("-m64")
options = "-DOPENMP_LIBDIR_SUFFIX= \ options += "-DOPENMP_LIBDIR_SUFFIX= \
" "
cmaketools.configure(options) cmaketools.configure(options)
+4 -4
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>LLVM OpenMP runtime library</Summary> <Summary>LLVM OpenMP runtime library</Summary>
<Description>openmp provides runtime for OpenMP by LLVM</Description> <Description>openmp provides runtime for OpenMP by LLVM</Description>
<Archive sha1sum="b23687827cb69da01fb3ea1234b708ab604def22" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/openmp-9.0.1.src.tar.xz</Archive> <Archive sha1sum="f661145e8cb6abab94e4d0e3a8efd37d7c56b463" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/openmp-10.0.0.src.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>llvm</Dependency> <Dependency>llvm</Dependency>
<Dependency>llvm-libs</Dependency> <Dependency>llvm-libs</Dependency>
@@ -63,15 +63,15 @@
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig/poppler.pc</Path> <Path fileType="data">/usr/lib32/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="1"> <Update release="1">
<Date>2020-01-23</Date> <Date>2020-03-28</Date>
<Version>9.0.1</Version> <Version>10.0.0</Version>
<Comment>First release</Comment> <Comment>First release</Comment>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>