forked from bioconda/bioconda-recipes
-
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.
Update svdss to 2.0.0 (bioconda#51519)
* Update svdss to 2.0.0 * add run_exports * edit build.sh * edit build.sh * edit build.sh * revert to skipping osx --------- Co-authored-by: mencian <[email protected]>
- Loading branch information
1 parent
8363caf
commit 44de0dc
Showing
3 changed files
with
40 additions
and
119 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,10 +1,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
mkdir -p build | ||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=Release -DCONDAPREFIX=${PREFIX} .. | ||
make | ||
cd .. | ||
#!/bin/bash | ||
|
||
mkdir -p ${PREFIX}/bin | ||
cp SVDSS ${PREFIX}/bin | ||
export INCLUDE_PATH="${PREFIX}/include" | ||
export LIBRARY_PATH="${PREFIX}/lib" | ||
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" | ||
export CFLAGS="${CFLAGS} -O3 -L${PREFIX}/lib" | ||
export CXXFLAGS="${CXXFLAGS} -O3 -I${PREFIX}/include" | ||
|
||
if [[ `uname` == "Darwin" ]]; then | ||
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER" | ||
else | ||
export CONFIG_ARGS="" | ||
fi | ||
|
||
cmake -S. -B build -DCMAKE_BUILD_TYPE=Release \ | ||
-DCONDAPREFIX="${PREFIX}" -DCMAKE_CXX_COMPILER="${CXX}" \ | ||
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" -DCMAKE_C_COMPILER="${CC}" \ | ||
-DCMAKE_C_FLAGS="${CFLAGS}" \ | ||
"${CONFIG_ARGS}" | ||
cmake --build build -j "${CPU_COUNT}" -v | ||
|
||
chmod 0755 SVDSS | ||
mv SVDSS ${PREFIX}/bin |
This file was deleted.
Oops, something went wrong.
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