File: build.sh

package info (click to toggle)
libslow5lib 1.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,280 kB
  • sloc: ansic: 13,123; python: 1,353; sh: 600; makefile: 98; cpp: 40
file content (13 lines) | stat: -rwxr-xr-x 802 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

#exit on error
set -x
#prints the command to the console
set -e
gcc -Wall -O2 -I include/ examples/adv/auxiliary_field_enum.c lib/libslow5.a  -o examples/adv/auxiliary_field_enum -lm -lz
gcc -Wall -O2 -I include/ examples/adv/sequential_read_openmp.c lib/libslow5.a  -o examples/adv/sequential_read_openmp -lm -lz -fopenmp
gcc -Wall -O2 -I include/ examples/adv/sequential_read_pthreads.c lib/libslow5.a  -o examples/adv/sequential_read_pthreads -lm -lz -lpthread
gcc -Wall -O2 -I include/ examples/adv/get_all_read_ids.c lib/libslow5.a  -o examples/adv/get_all_read_ids -lm -lz
gcc -Wall -O2 -I include/ examples/adv/auxiliary_field_enum_write.c lib/libslow5.a  -o examples/adv/auxiliary_field_enum_write -lm -lz

#append -lzstd to above commands if your slow5lib is built with zstd support