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.
yak: add aarch64/arm64 build (bioconda#49796)
* yak: add aarch64/arm64 build * edit build.sh * edit build.sh * edit build.sh
- Loading branch information
Showing
3 changed files
with
786 additions
and
9 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,6 +1,12 @@ | ||
#!/bin/bash | ||
#!/bin/bash -ex | ||
|
||
mkdir -p $PREFIX/bin | ||
mkdir -p ${PREFIX}/bin | ||
|
||
make INCLUDES="-I$PREFIX/include" CFLAGS="-g -Wall -O2 -L$PREFIX/lib" | ||
cp yak $PREFIX/bin | ||
#install_name_tool error fix | ||
if [[ "$(uname)" == Darwin ]]; then | ||
export LDFLAGS="${LDFLAGS} -Wl,-rpath,${PREFIX}/lib -headerpad_max_install_names" | ||
fi | ||
|
||
make INCLUDES="-I${PREFIX}/include" CFLAGS="${CFLAGS} -g -Wall -O3 -L${PREFIX}/lib" | ||
cp -rf yak ${PREFIX}/bin | ||
chmod 755 ${PREFIX}/bin/yak |
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.