libdispatch.
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user