Skip to content

Commit

Permalink
#2174: delete vtk source directory after building; do not install vtk
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly authored and cz4rs committed Sep 20, 2024
1 parent e3954d5 commit 5eaa1eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions ci/deps/vtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ rm ${vtk_tar_name}

mkdir -p ${build_root}
cd ${build_root}

mkdir -p build
mkdir -p install

cd build
rm -rf ./*
cmake \
-DCMAKE_INSTALL_PREFIX:FILEPATH=${build_root}/install \
${base_dir}/${vtk_name}
cmake --build . --target install -j ${make_args}
cmake ${base_dir}/${vtk_name}
cmake --build . -j ${make_args}

cd ${base_dir}
rm -rf ${vtk_name}
2 changes: 1 addition & 1 deletion ci/docker/ubuntu-gnu-vtk-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ENV LESSCHARSET=utf-8

COPY ./ci/deps/vtk.sh vtk.sh
RUN chmod +x vtk.sh && ./vtk.sh 9.3.0 /vtk-build -j4
ENV VTK_DIR=/vtk-build/build
ENV VTK_DIR=/vtk-build

COPY ./ci/deps/mpich.sh mpich.sh
RUN if [ "$ubuntu" = "18.04" ]; then \
Expand Down

0 comments on commit 5eaa1eb

Please sign in to comment.