From 5caaf937dc73b20c8c468e9cca04e742136a560c Mon Sep 17 00:00:00 2001 From: Michal Siedlaczek Date: Wed, 17 Jan 2024 19:45:32 -0500 Subject: [PATCH] Append sourcing setvars.sh to .bashrc This is not only needed for compilation but also for running the tests. --- test/docker/system-deps/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/docker/system-deps/Dockerfile b/test/docker/system-deps/Dockerfile index 2c6cfda5..8894b5c5 100644 --- a/test/docker/system-deps/Dockerfile +++ b/test/docker/system-deps/Dockerfile @@ -23,7 +23,8 @@ RUN ./pisa/test/docker/install-cmake.sh RUN mkdir /pisa/build WORKDIR /pisa/build -RUN . /opt/intel/oneapi/setvars.sh && cmake \ +RUN echo '. /opt/intel/oneapi/setvars.sh' >> $HOME/.bashrc +RUN cmake \ "-DCMAKE_BUILD_TYPE=Debug" \ "-DPISA_BUILD_TOOLS=ON" \ "-DPISA_ENABLE_BENCHMARKING=ON" \