Skip to content

Commit

Permalink
Append sourcing setvars.sh to .bashrc
Browse files Browse the repository at this point in the history
This is not only needed for compilation but also for running the tests.
  • Loading branch information
elshize committed Jan 18, 2024
1 parent 496bea3 commit 5caaf93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/docker/system-deps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 5caaf93

Please sign in to comment.