-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update smudgeplot to 0.4.0 * edit install command * update dependencies * patch gcc in Makefile * edit tests * add pandas --------- Co-authored-by: mencian <[email protected]>
- Loading branch information
1 parent
049acd0
commit 17ddc5c
Showing
3 changed files
with
25 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/Makefile b/Makefile | ||
index ad29043..4dff5ca 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -15,7 +15,7 @@ $(INSTALL_PREFIX)/bin/% : exec/% | ||
install -C $< $(INSTALL_PREFIX)/bin | ||
|
||
exec/hetmers: src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/libfastk.h src_ploidyplot/matrix.c src_ploidyplot/matrix.h | ||
- gcc $(CFLAGS) -o $@ src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/matrix.c -lpthread -lm | ||
+ $(CC) $(CFLAGS) -o $@ src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/matrix.c -lpthread -lm | ||
|
||
|
||
.PHONY : clean |
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,13 @@ | ||
#!/bin/bash | ||
|
||
export CPATH="${PREFIX}/include" | ||
|
||
mkdir -p $PREFIX/bin | ||
|
||
# Install the current codebase as an R package | ||
Rscript install.R | ||
make -s INSTALL_PREFIX="${PREFIX}" CC="${CC}" -j"${CPU_COUNT}" | ||
|
||
# Install executables | ||
install -C exec/smudgeplot.py $PREFIX/bin | ||
install -C exec/hetmers $PREFIX/bin | ||
install -C exec/smudgeplot_plot.R $PREFIX/bin | ||
install -C exec/centrality_plot.R $PREFIX/bin |
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