forked from philippkraft/cmf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philipp Kraft
committed
Aug 30, 2021
1 parent
7836736
commit 566bbbc
Showing
5 changed files
with
21 additions
and
28 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
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,4 +1,5 @@ | ||
numpy>=1.14 | ||
wheel | ||
scipy>=1.0 | ||
cmake>=3.13.0 | ||
# shapely>=1.5.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
#!/usr/bin/env bash | ||
export CLAGS="-fPIC" | ||
export CXXFLAGS="-fPIC" | ||
|
||
CWD=$PWD | ||
TOOLDIR=$(dirname $0) | ||
TOOLDIR=$(python3 $TOOLDIR/abspath.py $TOOLDIR) | ||
echo "TOOLDIR="$TOOLDIR | ||
CMFDIR=$(python3 $TOOLDIR/abspath.py $TOOLDIR/..) | ||
echo "CMFDIR="$CMFDIR | ||
export CFLAGS="-fPIC" | ||
export CXXFLAGS="-fPIC" | ||
|
||
BUILDDIR=$CMFDIR/build/extern | ||
BUILDDIR=$TOOLDIR/../build/extern | ||
echo "BUILDDIR="$BUILDDIR | ||
|
||
mkdir -p $BUILDDIR | ||
cd $BUILDDIR | ||
cmake ${TOOLDIR} -DCMAKE_BUILD_TYPE=Release | ||
make $MAKE_OPTIONS | ||
|
||
cd $CWD | ||
cmake -S ${TOOLDIR} -B ${BUILDDIR} -DCMAKE_BUILD_TYPE=Release | ||
make -C ${BUILDDIR} |