-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOSS: Use Catch2 again intead of doctest
- Loading branch information
1 parent
541f6de
commit 5d3003a
Showing
14 changed files
with
415 additions
and
7,992 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#! /usr/bin/env bash | ||
EXTRA_ARGS=$@ | ||
|
||
### The following assumes you are building in a subdirectory of ACCESS Root | ||
if [ "X$ACCESS" == "X" ] ; then | ||
ACCESS=$(cd ../../../..; pwd) | ||
echo "ACCESS set to ${ACCESS}" | ||
fi | ||
INSTALL_PATH=${INSTALL_PATH:-${ACCESS}} | ||
|
||
SHARED="${SHARED:-YES}" | ||
|
||
. ${ACCESS}/TPL/compiler.sh | ||
|
||
CFLAGS="-I${INSTALL_PATH}/include"; export CFLAGS | ||
CPPFLAGS="-DNDEBUG"; export CPPFLAGS | ||
|
||
rm -f CMakeCache.txt | ||
|
||
cmake \ | ||
${RPATH} \ | ||
-D CMAKE_PREFIX_PATH:PATH=${INSTALL_PATH}/lib \ | ||
-D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} \ | ||
-D CMAKE_INSTALL_LIBDIR:PATH=lib \ | ||
$EXTRA_ARGS \ | ||
.. | ||
|
||
echo "" | ||
echo " COMPILER: ${CC}" | ||
echo " ACCESS: ${ACCESS}" | ||
echo "INSTALL_PATH: ${INSTALL_PATH}" | ||
echo "" |
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
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
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
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
Oops, something went wrong.