Skip to content

Instantly share code, notes, and snippets.

@saivert
Created October 22, 2020 18:54
Show Gist options
  • Save saivert/1f879e399b0637ed5c7a926617da3877 to your computer and use it in GitHub Desktop.
Save saivert/1f879e399b0637ed5c7a926617da3877 to your computer and use it in GitHub Desktop.
{
"name": "libdispatch",
"buildsystem": "cmake",
"subdir": "libdispatch",
"build-options": {
"env": {
"CC": "clang",
"CXX": "clang++"
}
},
"config-opts": [
"-B../build",
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
"-DCMAKE_INSTALL_PREFIX=/usr",
"-DBlocksRuntime_INCLUDE_DIR=/usr/include",
"-DBlocksRuntime_LIBRARIES=/usr/lib/libBlocksRuntime.so"
],
"build-commands": [
],
"sources": [
{
"type": "git",
"url": "https://github.com/apple/swift-corelibs-libdispatch.git",
"tag": "swift-5.3-RELEASE",
"dest": "libdispatch"
},
{
"type": "patch",
"path": "libdispatch-patches/avoid-libkqueue.patch",
"strip-components": 0,
"dest": "libdispatch"
},
{
"type": "patch",
"path": "libdispatch-patches/remove-werror.patch",
"strip-components": 0,
"dest": "libdispatch"
},
{
"type": "patch",
"path": "libdispatch-patches/system-blocksruntime.patch",
"strip-components": 0,
"dest": "libdispatch"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment