mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Update dependencies.sh
This commit is contained in:
parent
0909019340
commit
a4caf79399
1 changed files with 5 additions and 3 deletions
8
.github/scripts/dependencies.sh
vendored
8
.github/scripts/dependencies.sh
vendored
|
@ -44,18 +44,20 @@ install_libobjc2() {
|
||||||
install_libdispatch() {
|
install_libdispatch() {
|
||||||
echo "::group::libdispatch"
|
echo "::group::libdispatch"
|
||||||
cd $DEPS_PATH
|
cd $DEPS_PATH
|
||||||
git clone -q https://github.com/swiftlang/swift-corelibs-libdispatch.git libdispatch
|
# will reference upstream after https://github.com/apple/swift-corelibs-libdispatch/pull/534 is merged
|
||||||
|
git clone -q -b system-blocksruntime https://github.com/ngrewe/swift-corelibs-libdispatch.git libdispatch
|
||||||
mkdir libdispatch/build
|
mkdir libdispatch/build
|
||||||
cd libdispatch/build
|
cd libdispatch/build
|
||||||
# -Wno-error=void-pointer-to-int-cast to work around build error in queue.c due to -Werror
|
# -Wno-error=void-pointer-to-int-cast to work around build error in queue.c due to -Werror
|
||||||
|
# -Wno-error=unused-but-set-variable to work around build error in shims/yield.c due to -Werror
|
||||||
cmake \
|
cmake \
|
||||||
-DBUILD_TESTING=off \
|
-DBUILD_TESTING=off \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PATH \
|
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PATH \
|
||||||
-DCMAKE_C_FLAGS="-Wno-error=void-pointer-to-int-cast" \
|
-DCMAKE_C_FLAGS="-Wno-error=void-pointer-to-int-cast -Wno-error=unused-but-set-variable" \
|
||||||
-DINSTALL_PRIVATE_HEADERS=1 \
|
-DINSTALL_PRIVATE_HEADERS=1 \
|
||||||
-DBlocksRuntime_INCLUDE_DIR=$INSTALL_PATH/include \
|
-DBlocksRuntime_INCLUDE_DIR=$INSTALL_PATH/include \
|
||||||
-DBlocksRuntime_LIBRARIES=$INSTALL_PATH/lib/libobjc.so \
|
-DBlocksRuntime_LIBRARIES=$INSTALL_PATH/$LIBDIR/libobjc.so \
|
||||||
../
|
../
|
||||||
make install
|
make install
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
Loading…
Reference in a new issue