Skip to content

Commit 864260c

Browse files
RHOAIENG-5114: feat(ppc64le): skip the latex installation to allow to build jupyter-minimal workbench images for Power (#1966)
* Skip PDF export installation for ppc64le Co-authored-by: puneetsharma21 <puneet.sharma21@ibm.com>
1 parent 242cf2b commit 864260c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.tekton/odh-workbench-jupyter-minimal-cpu-py312-ubi9-pull-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ spec:
3636
- name: build-platforms
3737
value:
3838
- linux/x86_64
39+
- linux/ppc64le
3940
- name: dockerfile
4041
value: jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu
4142
- name: path-context

jupyter/utils/install_pdf_deps.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if [[ -z "${ARCH:-}" ]]; then
1717
exit 1
1818
fi
1919

20-
# Skip PDF export installation for s390x architecture
21-
if [[ "$(uname -m)" == "s390x" ]]; then
22-
echo "PDF export functionality is not supported on s390x architecture. Skipping installation."
20+
# Skip PDF export installation for s390x and ppc64le architectures
21+
if [[ "$(uname -m)" == "s390x" || "$(uname -m)" == "ppc64le" ]]; then
22+
echo "PDF export functionality is not supported on $(uname -m) architecture. Skipping installation."
2323
exit 0
2424
fi
2525

0 commit comments

Comments
 (0)