File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
jupyter/datascience/ubi9-python-3.12
runtimes/datascience/ubi9-python-3.12 Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ if [ "${TARGETARCH}" = "ppc64le" ]; then
198
198
git checkout ${ONNX_VERSION}
199
199
git submodule update --init --recursive
200
200
pip install -r requirements.txt
201
- export CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
201
+ CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)"
202
+ export CMAKE_ARGS
202
203
pip wheel . -w /root/onnx_wheel
203
204
else
204
205
echo "Skipping ONNX build on non-Power"
Original file line number Diff line number Diff line change @@ -226,7 +226,8 @@ RUN if [ "$TARGETARCH" = "ppc64le" ]; then \
226
226
cd onnx && git checkout v${ONNX_VERSION} && \
227
227
git submodule update --init --recursive && \
228
228
pip install -r requirements.txt && \
229
- export CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)" && \
229
+ CMAKE_ARGS="-DPython3_EXECUTABLE=$(which python3.12)" && \
230
+ export CMAKE_ARGS && \
230
231
pip wheel . -w /onnx_wheels; \
231
232
else \
232
233
echo "Not ppc64le, skipping ONNX build" && mkdir -p /onnx_wheels; \
@@ -249,8 +250,10 @@ RUN if [ "$TARGETARCH" = "ppc64le" ]; then \
249
250
git clone -b apache-arrow-${PYARROW_VERSION} https://github.com/apache/arrow.git --recursive && \
250
251
cd arrow && rm -rf .git && mkdir dist && \
251
252
pip3 install -r python/requirements-build.txt && \
252
- export ARROW_HOME=$(pwd)/dist && \
253
- export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH && \
253
+ ARROW_HOME=$(pwd)/dist && \
254
+ export ARROW_HOME && \
255
+ LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH && \
256
+ export LD_LIBRARY_PATH && \
254
257
export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH && \
255
258
export PARQUET_TEST_DATA="${PWD}/cpp/submodules/parquet-testing/data" && \
256
259
export ARROW_TEST_DATA="${PWD}/testing/data" && \
You can’t perform that action at this time.
0 commit comments