Skip to content

Commit

Permalink
Fix taskgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Dec 13, 2023
1 parent a61a9ca commit bf427bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion taskcluster/kinds/build/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ios/debug/cmake:
fetch:
- miniconda-osx
toolchain:
- qt-ios
- conda-ios-6.2.4
worker:
taskcluster-proxy: true
chain-of-trust: true
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/toolchain/conda_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ conda-ios-x86_64-6.2.4:
env:
QT_VERSION: "6.2.4"
run:
toolchain-alias: conda-ios-x86_64
toolchain-alias: conda-ios-6.2.4
toolchain-artifact: public/build/conda-ios.tar.gz

conda-ios-x86_64-6.6.0:
Expand All @@ -37,5 +37,5 @@ conda-ios-x86_64-6.6.0:
env:
QT_VERSION: "6.6.0"
run:
toolchain-alias: conda-ios-x86_64
toolchain-alias: conda-ios-6.6.0
toolchain-artifact: public/build/conda-ios.tar.gz
21 changes: 4 additions & 17 deletions taskcluster/scripts/build/ios_build_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,9 @@ export PYTHONIOENCODING="UTF-8"


print Y "Installing conda"
chmod +x ${MOZ_FETCHES_DIR}/miniconda.sh
bash ${MOZ_FETCHES_DIR}/miniconda.sh -b -u -p ${TASK_HOME}/miniconda
source ${TASK_HOME}/miniconda/bin/activate


print Y "Installing provided conda env..."
# TODO: Check why --force is needed if we install into TASK_HOME?
conda env create --force -f env.yml
conda activate VPN
./scripts/macos/conda_install_extras.sh
# We need to call bash with a login shell, so that conda is intitialized
source $TASK_WORKDIR/fetches/bin/activate
conda-unpack
conda info

# Should already have been done by taskcluser, but double checking c:
Expand All @@ -45,8 +38,6 @@ git submodule update --init --recursive || die "Failed to init submodules"
print G "done."

print Y "Configuring the build..."
QTVERSION=$(ls ${MOZ_FETCHES_DIR}/qt_ios)


if [ -d ${TASK_HOME}/build ]; then
echo "Found old build-folder, weird!"
Expand All @@ -55,11 +46,7 @@ if [ -d ${TASK_HOME}/build ]; then
fi
mkdir ${TASK_HOME}/build



$MOZ_FETCHES_DIR/qt_ios/$QTVERSION/ios/bin/qt-cmake -S . -B ${TASK_HOME}/build -GXcode \
-DQT_HOST_PATH="$MOZ_FETCHES_DIR/qt_ios/$QTVERSION/macos" \
-DCMAKE_PREFIX_PATH=$MOZ_FETCHES_DIR/qt_ios/lib/cmake \
qt-cmake -S . -B ${TASK_HOME}/build -GXcode \
-DCMAKE_OSX_ARCHITECTURES="arm64" \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY="" \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO" \
Expand Down

0 comments on commit bf427bc

Please sign in to comment.