-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from sandialabs/capp
update build
- Loading branch information
Showing
235 changed files
with
2,268 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
build | ||
flavor/*/build/ | ||
flavor/*/install/ | ||
flavor/*/venv/ | ||
source/eigen | ||
source/gmodel | ||
source/gtest | ||
source/hdf5 | ||
source/netcdf-c | ||
source/omega_h | ||
source/parmetis | ||
source/scorec | ||
source/trilinos | ||
source/zlib-ng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
capp_app( | ||
BUILD_TYPE | ||
${CALIBR8_BUILD_TYPE} | ||
ROOT_PACKAGES | ||
calibr8 | ||
) | ||
|
||
find_program(CALIBR8_MPICC NAMES mpicc HINTS ENV MPICC) | ||
find_program(CALIBR8_MPICXX NAMES mpicxx HINTS ENV MPICXX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export CAPP_ROOT=$PWD | ||
capp () { | ||
# Convert the Bash function arguments into a semicolon-separated CMake list | ||
arglist="$(printf ';%s' "$@")" | ||
case $1 in | ||
"load"|"unload") | ||
stdout="$(cmake -DCAPP_CMDLINE_ARGS="$arglist" -P "$CAPP_ROOT/capp.cmake")" || return | ||
eval "$stdout" | ||
unset stdout | ||
;; | ||
*) | ||
cmake -DCAPP_CMDLINE_ARGS="$arglist" -P "$CAPP_ROOT/capp.cmake" | ||
;; | ||
esac | ||
} |
Oops, something went wrong.