Skip to content
Snippets Groups Projects
Commit 4a6ee1bd authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Fixed macos components

parent 4458139e
No related branches found
No related tags found
No related merge requests found
......@@ -18,12 +18,13 @@
macos/(@= prefix @)-clang:
builds:
default:
configure: ""
configure: |
mkdir -p "$BUILD_DIR"
install: |
rm -f "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang"
cp support/add-sysroot-wrapper.sh "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang"
cp "$ORCHESTRA_DOTDIR/support/add-sysroot-wrapper.sh" "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang"
rm -f "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang++"
cp support/add-sysroot-wrapper.sh "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang++"
cp "$ORCHESTRA_DOTDIR/support/add-sysroot-wrapper.sh" "${TMP_ROOT}${ORCHESTRA_ROOT}/bin/(@= prefix @)-apple-darwin11-clang++"
dependencies:
- macos/sdk
- clang-release
......
......@@ -5,11 +5,12 @@
#@ def _macosx_sdk_component():
builds:
default:
configure: ""
configure: |
mkdir -p "$BUILD_DIR"
install: |
echo "TODO: macosx sdk" && exit 1
create-package.sh Xcode_9.xip
extract.sh --into "${TMP_ROOT}${ORCHESTRA_ROOT}" --src-archive-dir "$SDK_ARCHIVE_DIR" "(@= sdk_archive_name @)"
# echo "TODO: macosx sdk" && exit 1
# create-package.sh Xcode_9.xip
extract.sh --into "${TMP_ROOT}${ORCHESTRA_ROOT}" "(@= sdk_archive_name @)"
build_dependencies:
- cmake
dependencies:
......
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
PROGRAM="$(basename $0)"
BASE_PROGRAM="$(basename $0 | sed 's|.*-||')"
ROOT="$(readlink -f $DIR/..)"
exec -a "$PROGRAM" "$DIR/$BASE_PROGRAM" --sysroot "$ROOT" "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment