Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
a7735291
Commit
a7735291
authored
Jun 07, 2019
by
Scott Wittenburg
Browse files
Provide a build option which leaves build tree and cmake intact
parent
f987db04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Scripts/docker/ubuntu/Dockerfile
View file @
a7735291
...
...
@@ -38,6 +38,13 @@
#
# "master", "v5.6.0", <branch-name>, etc...
#
# DEV_BUILD
#
# false
# true
#
# (default is "false" -> build tree and cmake are removed)
#
ARG
BASE_IMAGE=nvidia/opengl:1.0-glvnd-devel-ubuntu18.04
FROM
${BASE_IMAGE}
...
...
@@ -46,6 +53,7 @@ ARG RENDERING=egl
ARG
PARAVIEW_TAG=v5.6.0
ARG
SUPERBUILD_TAG=v5.6.0
ARG
SUPERBUILD_REPO=https://gitlab.kitware.com/paraview/paraview-superbuild.git
ARG
DEV_BUILD=false
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
autoconf
\
...
...
@@ -82,6 +90,6 @@ RUN mkdir -p /home/pv-user/cmake/3.13.4 && cd /home/pv-user/cmake/3.13.4 && \
mkdir
build
&&
cd
build
&&
\
/home/pv-user/cmake/3.13.4/bin/cmake
-C
/home/pv-user/pvsb/src/cmake/sites/Docker-Ubuntu-18_04.cmake
"-GUnix Makefiles"
../src
&&
\
make
-j
"
$(
nproc
)
"
install
&&
\
rm
-rf
/home/pv-user/pvsb
&&
rm
-rf
/home/pv-user/cmake
if
[
"
${
DEV_BUILD
}
"
!=
"true"
]
;
then
rm
-rf
/home/pv-user/pvsb
&&
rm
-rf
/home/pv-user/cmake
;
fi
WORKDIR
/opt/paraview
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment