Skip to content

Commit

Permalink
update maketargz and holyboxcompile
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Jan 13, 2021
1 parent 1c28e29 commit fe141b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 7 additions & 1 deletion assembler/src/tools/spades_holybox_compile.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
#!/bin/bash

# Script for compiling SPAdes using holy build box
# To compile spades run
# To compile spades run once:
# udocker load -i /home/akorobeynikov/spades-buildbox.tar
# udocker create --name=buildbox cab/spades-buildbox6-64:2.0.0-a4
# cd /tmp
# curl -LO https://github.com/Kitware/CMake/releases/download/v3.19.2/cmake-3.19.2-Linux-x86_64.tar.gz
# tar zxvf cmake-3.19.2-Linux-x86_64.tar.gz
# udocker run --user=$(id -u) --volume=/tmp/:/temp buildbox cp -rv /temp/cmake-3.19.2-Linux-x86_64 /hbb/share/cmake-3.19
# Then run:
# udocker run --user=$(id -u) --volume=<path to SPAdes repository>:/spades --cpuset-cpus=16 buildbox bash /spades/assembler/src/tools/spades_holybox_compile.sh

set -e
source /hbb_exe/activate
export PATH=/hbb/share/cmake-3.19/bin/:$PATH

set -x

Expand Down
2 changes: 0 additions & 2 deletions make-targz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ cp assembler/src/CMakeLists.txt $SRC_DIR/

cp -r assembler/configs $TARGET_DIR/configs
cp -r assembler/ext $TARGET_DIR/ext
rm -r $TARGET_DIR/ext/include/cute
rm -r $TARGET_DIR/ext/include/teamcity_boost

# cleaning .pyc and .pyo
rm -f $SRC_DIR/*.pyc
Expand Down

0 comments on commit fe141b4

Please sign in to comment.