Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ParaView-Superbuild
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Spiros Tsalikis
ParaView-Superbuild
Commits
300a78a7
Commit
300a78a7
authored
5 years ago
by
Scott Wittenburg
Browse files
Options
Downloads
Patches
Plain Diff
Update cmake version, export env vars pointing to cmake and paraview
parent
c9fef725
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Scripts/docker/ubuntu/development/Dockerfile
+12
-5
12 additions, 5 deletions
Scripts/docker/ubuntu/development/Dockerfile
with
12 additions
and
5 deletions
Scripts/docker/ubuntu/development/Dockerfile
+
12
−
5
View file @
300a78a7
...
...
@@ -56,6 +56,7 @@ FROM ${BASE_IMAGE}
ARG
RENDERING=egl
ARG
PARAVIEW_TAG=v5.8.0-RC2
ARG
SUPERBUILD_TAG=v5.8.0-RC2
ARG
PARAVIEW_VERSION_STRING=paraview-5.8
ARG
SUPERBUILD_REPO=https://gitlab.kitware.com/paraview/paraview-superbuild.git
ARG
PYTHON_VERSION=2
ARG
BUILD_TYPE=Release
...
...
@@ -96,8 +97,11 @@ RUN groupadd pv-user && \
USER
pv-user
# Get CMake
RUN
mkdir
-p
/home/pv-user/cmake/3.13.4
&&
cd
/home/pv-user/cmake/3.13.4
&&
\
curl
-L
https://cmake.org/files/v3.13/cmake-3.13.4-Linux-x86_64.tar.gz |
tar
--strip-components
=
1
-xzv
RUN
mkdir
-p
/home/pv-user/cmake/3.16.4
&&
cd
/home/pv-user/cmake/3.16.4
&&
\
curl
-L
https://cmake.org/files/v3.16/cmake-3.16.4-Linux-x86_64.tar.gz |
tar
--strip-components
=
1
-xzv
# Make it easy to find CMake when build external projects and plugins
env
CMAKE_EXECUTABLE /home/pv-user/cmake/3.16.4/bin/cmake
# Clone the superbuild
RUN
mkdir
-p
/home/pv-user/pvsb/build
&&
cd
/home/pv-user/pvsb
&&
\
...
...
@@ -107,12 +111,15 @@ RUN mkdir -p /home/pv-user/pvsb/build && cd /home/pv-user/pvsb && \
WORKDIR
/home/pv-user/pvsb/build
# Configure
RUN
/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
RUN
${
CMAKE_EXECUTABLE
}
-C
/home/pv-user/pvsb/src/cmake/sites/Docker-Ubuntu-18_04.cmake
"-GUnix Makefiles"
../src
# Build
RUN
make
-j
"
$(
nproc
)
"
RUN
${
CMAKE_EXECUTABLE
}
--build
.
# Install
RUN
make
-j
"
$(
nproc
)
"
install
RUN ${
CMAKE_EXECUTABLE
}
--install
.
# Make it easy to find ParaView when build external projects and plugins
env
PARAVIEW_DIRECTORY /home/pv-user/pvsb/build/install/lib/cmake/${PARAVIEW_VERSION_STRING}
WORKDIR
/opt/paraview
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment