-
Notifications
You must be signed in to change notification settings - Fork 40
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 #327 from gidden/noci
moving conda files to this repo
- Loading branch information
Showing
5 changed files
with
91 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
mkdir build | ||
cd build | ||
export LD_LIBRARY_PATH=$PREFIX/lib/ | ||
export CMAKE_LIBRARY_PATH=$PREFIX/lib/ | ||
export PATH=$PREFIX/bin:$PATH | ||
export MACOSX_DEPLOYMENT_TARGET= | ||
|
||
$PREFIX/bin/cyclus --version | ||
|
||
if [[ `uname` == 'Linux' ]]; then | ||
cmake .. \ | ||
-DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DCYCLUS_ROOT_DIR=$PREFIX \ | ||
-DHDF5_ROOT=$PREFIX \ | ||
-DBOOST_ROOT=$PREFIX \ | ||
-DBOOST_LIBRARYDIR=$PREFIX/lib \ | ||
-DBoost_NO_SYSTEM_PATHS=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DLAPACK_LIBRARIES=$PREFIX/lib/liblapack.so \ | ||
-DBLAS_LIBRARIES=$PREFIX/lib/libblas.so | ||
else | ||
export DYLD_FALLBACK_LIBRARY_PATH=$PREFIX/lib/cyclus:$PREFIX/lib | ||
cmake .. \ | ||
-DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DCYCLUS_ROOT_DIR=$PREFIX \ | ||
-DHDF5_ROOT=$PREFIX \ | ||
-DCOIN_ROOT_DIR=$PREFIX \ | ||
-DBOOST_ROOT=$PREFIX \ | ||
-DLAPACK_LIBRARIES=$PREFIX/lib/liblapack.dylib \ | ||
-DBLAS_LIBRARIES=$PREFIX/lib/libblas.dylib | ||
fi | ||
|
||
make | ||
make install | ||
|
||
echo DONE |
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,29 @@ | ||
package: | ||
name: cycamore | ||
version: 0.0 | ||
|
||
# Only use fn and url for polyphemus compatability | ||
source: | ||
fn: cycamore-src.tar.gz # ["TRAVIS" not in environ] | ||
url: https://github.com/cyclus/cycamore/archive/develop.tar.gz # ["TRAVIS" not in environ] | ||
path: .. # ["TRAVIS" in environ] | ||
|
||
requirements: | ||
build: | ||
- cyclus | ||
- cmake | ||
- python | ||
run: | ||
- cyclus | ||
|
||
test: | ||
requires: | ||
- nose | ||
- pytables | ||
|
||
build: | ||
string: nightly | ||
|
||
about: | ||
home: Cyclus | ||
license: BSD 3 Clause |
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,17 @@ | ||
|
||
echo "post-link.sh, PREFIX: $PREFIX" | ||
|
||
mv $PREFIX/bin/cycamore_unit_tests $PREFIX/bin/cycamore_unit_tests_base | ||
echo " | ||
#!/bin/bash | ||
export LD_LIBRARY_PATH=$PREFIX/lib:$PREFIX/lib/cyclus | ||
export DYLD_FALLBACK_LIBRARY_PATH=$PREFIX/lib/cyclus | ||
export CYCLUS_NUC_DATA=$PREFIX/share/cyclus/cyclus_nuc_data.h5 | ||
export CYCLUS_PATH=$PREFIX/lib/cyclus | ||
export CYCLUS_RNG_SCHEMA=$PREFIX/share/cyclus/cyclus.rng.in | ||
export DYLD_LIBRARY_PATH= | ||
$PREFIX/bin/cycamore_unit_tests_base \$* | ||
" > $PREFIX/bin/cycamore_unit_tests | ||
chmod 755 $PREFIX/bin/cycamore_unit_tests | ||
|
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,6 @@ | ||
|
||
echo "pre-link.sh, PREFIX: $PREFIX" | ||
|
||
export LD_LIBRARY_PATH=$PREFIX/lib/:$LD_LIBRARY_PATH | ||
export CMAKE_LIBRARY_PATH=$PREFIX/lib/:$CMAKE_LIBRARY_PATH | ||
|