diff mbox series

[meta-darwin,4/4] libdispatch: add apple-libdispatch 1.3

Message ID 20250410134510.17001-4-ecordonnier@snap.com
State New
Headers show
Series [meta-darwin,1/4] cctools-port: update to 1010.6 | expand

Commit Message

Etienne Cordonnier April 10, 2025, 1:45 p.m. UTC
From: Dominik Schnitzer <dominik@snap.com>

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 .../libdispatch/libdispatch_git.bb            | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-devtools/libdispatch/libdispatch_git.bb
diff mbox series

Patch

diff --git a/recipes-devtools/libdispatch/libdispatch_git.bb b/recipes-devtools/libdispatch/libdispatch_git.bb
new file mode 100644
index 0000000..05b309d
--- /dev/null
+++ b/recipes-devtools/libdispatch/libdispatch_git.bb
@@ -0,0 +1,27 @@ 
+# Copyright (C) 2025, Snap Inc.
+# SPDX-License-Identifier: MIT
+
+SUMMARY = "Apple Grand Central Dispatch (libdispatch)"
+HOMEPAGE = "https://github.com/tpoechtrager/apple-libdispatch"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=1cd73afe3fb82e8d5c899b9d926451d0"
+
+SECTION = "devel"
+
+SRCREV = "e85f6a0d5c9ea1f32f5013c3fa34e4fc146cd0eb"
+SRC_URI = "git://github.com/swiftlang/swift-corelibs-libdispatch.git;nobranch=1;protocol=https"
+
+inherit cmake
+
+BBCLASSEXTEND = "native"
+
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
+
+DEPENDS += " \
+    clang-native \
+    libcxx-native \
+"
+
+TC_CXX_RUNTIME:class-native = "llvm"
+TOOLCHAIN:class-native = "clang"