Use other test format (/bin/sh)

This commit is contained in:
Joshua M. Boniface 2024-03-03 18:49:56 -05:00
parent 4aae195f88
commit 5f29b32962

View File

@ -156,7 +156,7 @@ RUN apt-get update \
# Prefer NEO to Beignet since the latter one doesn't support Comet Lake or newer for now.
# Do not use the intel-opencl-icd package from repo since they will not build with RELEASE_WITH_REGKEYS enabled.
# https://github.com/intel/compute-runtime/releases
RUN if test "${PACKAGE_ARCH}" == "amd64"; then \
RUN if [ "${PACKAGE_ARCH}" == "amd64" ]; then \
mkdir intel-compute-runtime \
&& pushd intel-compute-runtime \
&& curl -LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC_VERSION}/intel-igc-core_${IGC_VERSION}_amd64.deb \
@ -173,7 +173,7 @@ RUN if test "${PACKAGE_ARCH}" == "amd64"; then \
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
# Rockchip RK3588 libmali OpenCL dependencies:
RUN if test "${PACKAGE_ARCH}" == "arm64"; then \
RUN if [ "${PACKAGE_ARCH}" == "arm64" ]; then \
mkdir libmali-rockchip \
&& cd libmali-rockchip \
&& curl -LO https://github.com/tsukumijima/libmali-rockchip/releases/download/${MALI_PKG_TAG}/libmali-${MALI_PKG_CFG}_${MALI_PKG_VER}.deb \