Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
oxyflame_rendering_tools
Manage
Activity
Members
Labels
Plan
Wiki
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
oxyflame_rendering_tools
Commits
47d927b9
Commit
47d927b9
authored
4 years ago
by
ad784563
Browse files
Options
Downloads
Patches
Plain Diff
Removed cmake and git dependencies. Why not.
parent
0b0859f9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install.sh
+18
-10
18 additions, 10 deletions
install.sh
with
18 additions
and
10 deletions
install.sh
+
18
−
10
View file @
47d927b9
#!/bin/bash
#!/bin/bash
module load cmake/3.16.4
module load gcc/10
module load gcc/10
mkdir
dependencies
mkdir
dependencies
cd
dependencies
cd
dependencies
# Install CMake.
wget https://github.com/Kitware/CMake/releases/download/v3.19.4/cmake-3.19.4-Linux-x86_64.tar.gz
ZIP
=
cmake-3.19.4-Linux-x86_64.tar.gz
tar
-xzvf
$ZIP
rm
$ZIP
mv
./cmake-3.19.4-Linux-x86_64 ./cmake-3.19.4
# Install Ospray.
# Install Ospray.
wget https://github.com/ospray/ospray/releases/download/v1.8.5/ospray-1.8.5.x86_64.linux.tar.gz
wget https://github.com/ospray/ospray/releases/download/v1.8.5/ospray-1.8.5.x86_64.linux.tar.gz
ZIP
=
ospray-1.8.5.x86_64.linux.tar.gz
ZIP
=
ospray-1.8.5.x86_64.linux.tar.gz
...
@@ -13,19 +19,21 @@ rm $ZIP
...
@@ -13,19 +19,21 @@ rm $ZIP
mv
./ospray-1.8.5.x86_64.linux ./ospray-1.8.5
mv
./ospray-1.8.5.x86_64.linux ./ospray-1.8.5
# Install VTK.
# Install VTK.
git clone https://github.com/Kitware/VTK.git
wget https://www.vtk.org/files/release/9.0/VTK-9.0.1.tar.gz
cd
VTK
ZIP
=
VTK-9.0.1.tar.gz
git checkout v9.0.1
tar
-xzvf
$ZIP
rm
$ZIP
cd
VTK-9.0.1
mkdir
build
mkdir
build
cd
build
cd
build
export
ospray_DIR
=
../../ospray-1.8.5/lib/cmake/ospray-1.8.5
export
ospray_DIR
=
../../ospray-1.8.5/lib/cmake/ospray-1.8.5
cmake ..
-DVTK_MODULE_ENABLE_VTK_RenderingRayTracing
=
YES
../../cmake-3.19.4/bin/
cmake ..
-DVTK_MODULE_ENABLE_VTK_RenderingRayTracing
=
YES
cmake
--build
.
--config
Release
--parallel
64
../../cmake-3.19.4/bin/
cmake
--build
.
--config
Release
--parallel
64
# Install application.
# Install application.
cd
../../offline_ray_tracer
cd
../../
../
offline_ray_tracer
mkdir
build
mkdir
build
cd
build
cd
build
export
VTK_DIR
=
../../
../
dependencies/VTK
/build
export
VTK_DIR
=
../../dependencies/VTK
-9.0.1/build/lib64/cmake/vtk-9.0/
cmake ..
../../dependencies/cmake-3.19.4/bin/
cmake ..
cmake
--build
.
--clean-first
--config
Release
--parallel
64
../../dependencies/cmake-3.19.4/bin/
cmake
--build
.
--clean-first
--config
Release
--parallel
64
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