File: build.sh

package info (click to toggle)
libslow5lib 0.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,084 kB
  • sloc: ansic: 11,825; python: 1,179; sh: 547; makefile: 90; cpp: 40
file content (12 lines) | stat: -rwxr-xr-x 667 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

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