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
Commit
3bc2008a
authored
Feb 17, 2016
by
jchodera
Browse files
Update packaging preparation scripts
parent
2060b5b5
Changes
2
Hide 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.
# Prepare for build by ensuring necessary prerequisites are locally installed.
...
@@ -15,7 +15,7 @@ then
...
@@ -15,7 +15,7 @@ then
echo
"miniconda already exists"
echo
"miniconda already exists"
else
else
echo
"Downloading miniconda..."
echo
"Downloading miniconda..."
rm
-rf
Miniconda-
*
rm
-rf
Miniconda-
*
miniconda ~/.condarc
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
bash
${
MINICONDA
}
-b
-p
miniconda
bash
${
MINICONDA
}
-b
-p
miniconda
PIP_ARGS
=
"-U"
PIP_ARGS
=
"-U"
...
@@ -25,6 +25,6 @@ fi
...
@@ -25,6 +25,6 @@ fi
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
# Ensure configuration is up to date.
# Ensure configuration is up to date.
conda config
--add
channels
http://conda.binstar.org/
omnia
conda config
--add
channels omnia
conda
install
--yes
--quiet
swig fftw3f pip
conda
install
--yes
--quiet
swig fftw3f pip
doxygen sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen lxml cmake
pip
install
sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen
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.
# Prepare for build by ensuring necessary prerequisites are locally installed.
# Set relative workspace path.
# Set relative workspace path.
export
WORKSPACE
=
`
pwd
`
export
WORKSPACE
=
`
pwd
`
# Install miniconda
# Install miniconda
export
VERSION
=
"
L
atest"
export
VERSION
=
"
l
atest"
export
PLATFORM
=
"Linux"
export
PLATFORM
=
"Linux"
export
ARCH
=
"x86_64"
export
ARCH
=
"x86_64"
export
MINICONDA
=
"Miniconda-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
export
MINICONDA
=
"Miniconda
2
-
$VERSION
-
$PLATFORM
-
$ARCH
.sh"
if
[
-f
miniconda
]
;
if
[
-f
miniconda
]
;
then
then
echo
"miniconda already exists"
echo
"miniconda already exists"
else
else
echo
"Downloading miniconda..."
echo
"Downloading miniconda..."
rm
-rf
Miniconda-
*
rm
-rf
Miniconda-
*
miniconda ~/.condarc
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
wget
--quiet
http://repo.continuum.io/miniconda/
${
MINICONDA
}
bash
${
MINICONDA
}
-b
-p
miniconda
bash
${
MINICONDA
}
-b
-p
miniconda
PIP_ARGS
=
"-U"
PIP_ARGS
=
"-U"
...
@@ -25,6 +26,6 @@ fi
...
@@ -25,6 +26,6 @@ fi
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
export
PATH
=
$WORKSPACE
/miniconda/bin:
$PATH
# Ensure configuration is up to date.
# Ensure configuration is up to date.
conda config
--add
channels
http://conda.binstar.org/
omnia
conda config
--add
channels omnia
conda
install
--yes
--quiet
swig fftw3f pip
conda
install
--yes
--quiet
swig fftw3f pip
doxygen sphinx sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen lxml cmake
pip
install
sphinxcontrib-bibtex sphinxcontrib-lunrsearch sphinxcontrib-autodoc_doxygen
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