We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338527b commit 2cc8bdaCopy full SHA for 2cc8bda
.github/workflows/macos.yml
@@ -99,6 +99,9 @@ jobs:
99
CCACHE_COMPRESSLEVEL: 6
100
CCACHE_MAXSIZE: "500M"
101
run: |
102
+ echo "RUNNER_TOOL_CACHE = $RUNNER_TOOL_CACHE"
103
+ python_root="$(find $RUNNER_TOOL_CACHE -maxdepth 3 -type d -path '**/Python/*/x64')"
104
+ echo "python_root = $python_root"
105
export CCACHE_BASEDIR=$GITHUB_WORKSPACE
106
export CCACHE_DIR=$GITHUB_WORKSPACE/.ccache
107
ccache -z
@@ -109,6 +112,8 @@ jobs:
109
112
-DCMAKE_PREFIX_PATH=$SOFA_ROOT/lib/cmake \
110
113
-DCMAKE_BUILD_TYPE=Release \
111
114
-DPYTHON_EXECUTABLE=$(which python3.7) \
115
+ -DPython_EXECUTABLE=$(which python3.7) \
116
+ -DPython_ROOT=$python_root \
117
.
118
ninja install
119
echo ${CCACHE_BASEDIR}
0 commit comments