Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
04c5b8fa
Commit
04c5b8fa
authored
Mar 06, 2015
by
gsell
Browse files
scripts/HDF5/build_all_variants: added
parent
9473e50d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
scripts/HDF5/build_all_variants
scripts/HDF5/build_all_variants
+25
-0
No files found.
scripts/HDF5/build_all_variants
0 → 100755
View file @
04c5b8fa
#!/bin/bash
declare
-r
basedir
=
$(
dirname
$0
)
source
'../../config/Pmodules.conf'
declare
-r
recipe
=
"
${
basedir
}
/
$1
/build"
shift
if
[[
!
-x
"
${
recipe
}
"
]]
;
then
echo
"Error: no recipe to build '
$1
'!"
exit
1
fi
for
cc
in
"
${
COMPILER_VERSIONS
[@]
}
"
;
do
for
mpi
in
"
${
MPI_VERSIONS
[@]
}
"
;
do
for
hdf5
in
"
${
HDF5_VERSIONS
[@]
}
"
;
do
"
${
recipe
}
"
"
$@
"
--with
=
$cc
--with
=
$mpi
--with
=
$hdf5
||
{
echo
"Oops: build failed for:"
echo
" compile:
$cc
"
echo
" mpi:
$mpi
"
echo
" hdf5:
$hdf5
"
}
done
done
done
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