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
sds
HEP
HEPnOS
Commits
4559331a
Commit
4559331a
authored
Feb 21, 2020
by
Matthieu Dorier
Browse files
added CI files
parent
70c35581
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/ci/jenkins-mcs-workstation.sh
0 → 100755
View file @
4559331a
#!/bin/bash
set
-e
HERE
=
`
dirname
"
$0
"
`
echo
"Setting up Spack"
git clone https://github.com/spack/spack.git
.
spack/share/spack/setup-env.sh
spack bootstrap
echo
"Copying packages.yaml file"
cp
$HERE
/mcs-workstation-packages.yaml
$HOME
/.spack/linux/packages.yaml
echo
"Setting up sds-repo"
git clone https://xgitlab.cels.anl.gov/sds/sds-repo.git
spack repo add sds-repo
echo
"Installing depencencies"
spack
install
mpich
spack
install
ch-placement
spack
install
thallium
spack
install
sdskeyval
spack
install
yaml-cpp
spack
install
boost+serialization
spack
install
cmake
spack
install
libuuid
spack
install
cppunit
echo
"List of packages"
spack find
echo
"Loading packages"
spack load
-r
mpich
spack load
-r
ch-placement
spack load
-r
thallium
spack load
-r
sdskeyval
spack load
-r
yaml-cpp
spack load
-r
boost
spack load
-r
cmake
spack load
-r
libuuid
spack load
-r
cppunit
echo
"Building HEPnOS"
mkdir
build
cd
build
cmake ..
-DCMAKE_CXX_COMPILER
=
mpicxx
-DENABLE_TESTS
=
ON
-DBUILD_SHARED_LIBS
=
ON
make
make
test
test/ci/mcs-workstation-packages.yaml
0 → 100644
View file @
4559331a
packages
:
all
:
providers
:
mpi
:
[
mpich
,
openmpi
]
boost
:
variants
:
~atomic ~chrono ~date_time ~exception ~graph ~filesystem ~iostreams ~locale ~log ~math ~multithreaded ~program_options ~random ~regex +signals +singlethreaded ~system ~test ~thread ~timer ~wave
ch-placement
:
version
:
[
develop
]
mercury
:
variants
:
~boostsys~verbose
margo
:
version
:
[
develop
]
sdskeyval
:
version
:
[
develop
]
yaml-cpp
:
version
:
[
develop
]
thallium
:
version
:
[
develop
]
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