From 8067fe7c7fca9772d7c043e525cf37da1141997f Mon Sep 17 00:00:00 2001 From: Shujia Huang Date: Tue, 10 Sep 2024 21:13:41 +0800 Subject: [PATCH] first commit --- bin/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bin/install.sh diff --git a/bin/install.sh b/bin/install.sh new file mode 100644 index 0000000..0a06da2 --- /dev/null +++ b/bin/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# In MacOS +g++ -O3 -fPIC ../src/main.cpp ../src/basetype.h ../src/basetype.cpp ../src/basetype_caller.cpp ../src/utils.cpp ../src/fasta.cpp ../src/bam_header.cpp ../src/bam.cpp ../src/bam_record.cpp ../src/basetype_utils.cpp ../htslib/libhts.a -I ../htslib -lz -lbz2 -lm -llzma -lpthread -lcurl -o basevar + +# In Linux +g++ -O3 -fPIC ../src/main.cpp ../src/basetype.h ../src/basetype.cpp ../src/basetype_caller.cpp ../src/utils.cpp ../src/fasta.cpp ../src/bam_header.cpp ../src/bam.cpp ../src/bam_record.cpp ../src/basetype_utils.cpp ../htslib/libhts.a -I ../htslib -lz -lbz2 -lm -llzma -lpthread -lcurl -lssl -lcrypto -o basevar + +