libdispatch.

This commit is contained in:
4fury-c3440d8
2022-11-15 21:17:19 +03:00
parent f267b91bd7
commit b201a97d97
2 changed files with 15 additions and 8 deletions
+6 -7
View File
@@ -10,26 +10,25 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_THREAD_LIBS_INIT='-lpthread' \
-DCMAKE_HAVE_THREADS_LIBRARY=ON \
-DCMAKE_USE_PTHREADS_INIT=ON \
-DBUILD_TESTING=OFF -LA \
-DBUILD_TESTING=OFF \
-B_build -LA \
"
def setup():
shelltools.export("CC", "clang")
shelltools.export("CXX", "clang++")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
cmaketools.configure(j)
def build():
shelltools.cd("build")
shelltools.cd("_build")
cmaketools.make()
def install():
shelltools.cd("build")
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../CONTRIBUTING.md", "../INSTALL.md", "../README.md", "../TESTING.md")
+9 -1
View File
@@ -12,7 +12,8 @@
<IsA>library</IsA>
<Summary>Grand Central Dispatch.</Summary>
<Description>Grand Central Dispatch (GCD or libdispatch) provides comprehensive support for concurrent code execution on multicore hardware.</Description>
<Archive sha1sum="33dc247d09fcf0685d0bb16de1663c379ccc188f" type="targz">https://github.com/apple/swift-corelibs-libdispatch/archive/swift-5.4.2-RELEASE.tar.gz
<Archive sha1sum="d4be580d2aa6f7d2d066216a41035c853f73dd2b" type="targz">
https://github.com/apple/swift-corelibs-libdispatch/archive/refs/tags/swift-5.5-RELEASE.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
@@ -48,6 +49,13 @@
</Package>
<History>
<Update release="4">
<Date>2022-11-15</Date>
<Version>5.5.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="3">
<Date>2021-09-12</Date>
<Version>5.4.2</Version>