Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gregor.olenik
OGL
Commits
bd1fa705
Commit
bd1fa705
authored
Apr 15, 2021
by
Gregor Olenik
Browse files
install openfoam from the repository
parent
2d203e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
bd1fa705
language
:
cpp
sudo
:
fals
e
sudo
:
tru
e
compiler
:
-
gcc
...
...
@@ -9,7 +9,7 @@ os:
env
:
-
VERSION=8
-
VERSION=
dev
-
VERSION=
7
cache
:
directories
:
...
...
@@ -26,14 +26,13 @@ addons:
-
libopenmpi-dev
before_install
:
-
git clone --depth 1 https://github.com/OpenFOAM/OpenFOAM-$VERSION.git $HOME/OpenFOAM/OpenFOAM-$VERSION
-
ls $HOME/OpenFOAM
-
sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
-
sudo add-apt-repository http://dl.openfoam.org/ubuntu
-
sudo apt update
install
:
-
source $HOME/OpenFOAM/OpenFOAM-$VERSION/etc/bashrc
# skip compilation of applications
-
sed -i "s/applications/#applications/" $WM_PROJECT_DIR/Allwmake
-
cd $WM_PROJECT_DIR/ && ./Allwmake
-
sudo apt-get -y install openfoam$VERSION
-
source /opt/openfoam8/etc/bashrc
before_script
:
-
cmake --version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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