Use ubuntu focal as ppc64le base image. (#312)
* Use ubuntu focal for ppc64le. * Rebuild prereq docker. * Rebuild prereq docker. * Limit ppc64le build to use two threads only. * Rebuild prereq docker.
This commit is contained in:
parent
f0c5b99229
commit
6500f27f80
|
@ -113,7 +113,7 @@ jobs:
|
||||||
arch:
|
arch:
|
||||||
- ppc64le
|
- ppc64le
|
||||||
script:
|
script:
|
||||||
- docker build -t onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le -f docker/prereq.ppc64le.Dockerfile --build-arg BASE_IMAGE="ubuntu:bionic" ./utils
|
- docker build -t onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le -f docker/prereq.ppc64le.Dockerfile --build-arg BASE_IMAGE="ubuntu:focal" ./utils
|
||||||
- docker login -u onnxmlirczar -p "$DOCKER_HUB_TOKEN"
|
- docker login -u onnxmlirczar -p "$DOCKER_HUB_TOKEN"
|
||||||
- docker push onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le
|
- docker push onnxmlirczar/onnx-mlir-llvmimage-partial:ppc64le
|
||||||
- stage: prereq-0
|
- stage: prereq-0
|
||||||
|
|
|
@ -51,6 +51,7 @@ RUN if [ ! -f "/build/llvm-project/build/CMakeCache.txt" ]; then \
|
||||||
-DLLVM_ENABLE_RTTI=ON; \
|
-DLLVM_ENABLE_RTTI=ON; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ENV MAKEFLAGS=-j2
|
||||||
RUN if timeout 30m cmake --build . --target -- ${MAKEFLAGS} ; then \
|
RUN if timeout 30m cmake --build . --target -- ${MAKEFLAGS} ; then \
|
||||||
cmake --build . --target check-mlir; \
|
cmake --build . --target check-mlir; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue