Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
3bc2008a
"vscode:/vscode.git/clone" did not exist on "bcb53903b8b7d70db19e583cd24b4a1b13352487"
Commit
3bc2008a
authored
Feb 17, 2016
by
jchodera
Browse files
Update packaging preparation scripts
parent
2060b5b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
devtools/packaging/scripts/linux/prepare.sh
devtools/packaging/scripts/linux/prepare.sh
+5
-5
devtools/packaging/scripts/source/prepare.sh
devtools/packaging/scripts/source/prepare.sh
+8
-7
No files found.
devtools/packaging/scripts/linux/prepare.sh
View file @
3bc2008a
#!/bin/
tc
sh
#!/bin/
ba
sh
# Prepare for build by ensuring necessary prerequisites are locally installed.
...
...
@@ -15,7 +15,7 @@ then
echo
"miniconda already exists"
else
echo
"Downloading miniconda..."
rm
-rf
Miniconda-
*
rm
-rf
Miniconda-
*
miniconda ~/.condarc
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
bash
${
MINICONDA
}
-b
-p
miniconda
PIP_ARGS
=
"-U"
...
...
@@ -25,6 +25,6 @@ fi
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
# Ensure configuration is up to date.
conda config
--add
channels
http://conda.binstar.org/
omnia
conda
install
--yes
--quiet
swig fftw3f pip
pip
install
sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen
conda config
--add
channels omnia
conda
install
--yes
--quiet
swig fftw3f pip
doxygen sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen lxml cmake
devtools/packaging/scripts/source/prepare.sh
View file @
3bc2008a
#!/bin/
tc
sh
#!/bin/
ba
sh
# Prepare for build by ensuring necessary prerequisites are locally installed.
# Set relative workspace path.
export
WORKSPACE
=
`
pwd
`
# Install miniconda
export
VERSION
=
"
L
atest"
export
VERSION
=
"
l
atest"
export
PLATFORM
=
"Linux"
export
ARCH
=
"x86_64"
export
MINICONDA
=
"Miniconda-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
export
MINICONDA
=
"Miniconda
2
-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
if
[
-f
miniconda
]
;
then
echo
"miniconda already exists"
else
echo
"Downloading miniconda..."
rm
-rf
Miniconda-
*
rm
-rf
Miniconda-
*
miniconda ~/.condarc
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
bash
${
MINICONDA
}
-b
-p
miniconda
PIP_ARGS
=
"-U"
...
...
@@ -25,6 +26,6 @@ fi
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
# Ensure configuration is up to date.
conda config
--add
channels
http://conda.binstar.org/
omnia
conda
install
--yes
--quiet
swig fftw3f pip
pip
install
sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen
conda config
--add
channels omnia
conda
install
--yes
--quiet
swig fftw3f pip
doxygen sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen lxml cmake
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