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.
ucsc-fatotwobit: update macOS build (bioconda#50369)
* ucsc-fatotwobit: update macOS build * try without mariadb
- Loading branch information
Showing
5 changed files
with
72 additions
and
45 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,13 +1,26 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p "$PREFIX/bin" | ||
|
||
export MACHTYPE=$(uname -m) | ||
export BINDIR=$(pwd)/bin | ||
export BINDIR="$(pwd)/bin" | ||
export INCLUDE_PATH="${PREFIX}/include" | ||
export LIBRARY_PATH="${PREFIX}/lib" | ||
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" | ||
export CFLAGS="${CFLAGS} -O3 ${LDFLAGS}" | ||
export L="${LDFLAGS}" | ||
|
||
mkdir -p "$BINDIR" | ||
(cd kent/src/lib && make) | ||
(cd kent/src/htslib && make) | ||
(cd kent/src/jkOwnLib && make) | ||
(cd kent/src/hg/lib && make) | ||
(cd kent/src/utils/faToTwoBit && make) | ||
cp bin/faToTwoBit "$PREFIX/bin" | ||
chmod +x "$PREFIX/bin/faToTwoBit" | ||
|
||
if [[ "$(uname)" == Darwin ]]; then | ||
export LDFLAGS="${LDFLAGS} -Wl,-rpath,${PREFIX}/lib" | ||
export CFLAGS="${CFLAGS} -Wno-unused-command-line-argument" | ||
fi | ||
|
||
(cd kent/src/lib && make CC="${CC}" CFLAGS="${CFLAGS}" -j ${CPU_COUNT}) | ||
(cd kent/src/htslib && make CC="${CC}" CFLAGS="${CFLAGS}" -j ${CPU_COUNT}) | ||
(cd kent/src/jkOwnLib && make CC="${CC}" CFLAGS="${CFLAGS}" -j ${CPU_COUNT}) | ||
(cd kent/src/hg/lib && make CC="${CC}" CFLAGS="${CFLAGS}" -j ${CPU_COUNT}) | ||
(cd kent/src/utils/faToTwoBit && make CC="${CC}" CFLAGS="${CFLAGS}" -j ${CPU_COUNT}) | ||
cp -rf bin/faToTwoBit "$PREFIX/bin" | ||
chmod 0755 "$PREFIX/bin/faToTwoBit" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- a/kent/src/inc/common.mk 2017-11-07 17:46:00.000000000 -0500 | ||
+++ b/kent/src/inc/common.mk 2017-11-13 17:44:51.017090255 -0500 | ||
@@ -17,7 +17,7 @@ | ||
endif | ||
|
||
HG_DEFS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_${MACHTYPE} | ||
-HG_INC+=-I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -I$(kentSrc)/htslib | ||
+HG_INC+=-I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -I$(kentSrc)/htslib -I${PREFIX}/include | ||
|
||
# to check for Mac OSX Darwin specifics: | ||
UNAME_S := $(shell uname -s) | ||
--- a/kent/src/hg/lib/straw/makefile 2022-10-26 12:00:00.000000000 +0100 | ||
+++ b/kent/src/hg/lib/straw/makefile 2022-10-26 12:00:00.000000000 +0100 | ||
@@ -1,4 +1,4 @@ | ||
-KENT_INC=-I../../../inc | ||
+KENT_INC=-I../../../inc -I${PREFIX}/include | ||
|
||
straw: straw.o cStraw.o | ||
ld -r -o ../straw.o straw.o cStraw.o | ||
--- a/kent/src/utils/expMatrixToBarchartBed/expMatrixToBarchartBed 2018-06-06 02:23:56.000000000 +0200 | ||
+++ b/kent/src/utils/expMatrixToBarchartBed/expMatrixToBarchartBed 2018-06-06 02:23:56.000000000 +0200 | ||
@@ -1,4 +1,4 @@ | ||
-#!/usr/bin/env python2.7 | ||
+#!/usr/bin/env python | ||
# expMatrixToBarchartBed | ||
""" | ||
Generate a barChart bed6+5 file from a matrix, meta data, and coordinates. |
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