Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to seqan 1.4.2 #105

Closed
  •  
  •  
  •  
88 changes: 77 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,79 @@
language: c++
compiler:
- clang
- gcc
dist: xenial
language: cpp
matrix:
include:
# Linux (gcc4.9)
- os: linux
compiler: gcc-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libtbb-dev
env:
- CC=gcc-4.9
- CXX=g++-4.9
# Linux (gcc8)
- os: linux
compiler: gcc-8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- libtbb-dev
env:
- CC=gcc-8
- CXX=g++-8
# MacOS
- os: osx
osx_image: xcode11.2
compiler: clang
env:
- CC=clang
- CXX=clang++
- NPROC="$(sysctl -n hw.activecpu)"
before_install:
- brew unlink python@2
- brew install tbb
# ARM 64-bit
- os: linux
arch: arm64
compiler: gcc
env:
- POPCNT_CAPABILITY=0
- NO_TBB=1
# IBM Z (big endian)
- arch: s390x
compiler: gcc
env:
- POPCNT_CAPABILITY=0
- NO_TBB=1
before_install:
# The tests only work with `--threads 1`.
- sed -i 's/--threads $nthreads/--threads 1/' scripts/test/simple_tests.pl
# PPC64LE
- os: linux
arch: ppc64le
compiler: gcc
env:
- POPCNT_CAPABILITY=0
- NO_TBB=1
# Skip make simple-test as it fails.
script: make -j $NPROC allall
cache: apt
addons:
apt:
packages:
- libtbb-dev
script: make allall && make simple-test
env:
global:
- NPROC="$(nproc)"
before_script:
- uname -m
- echo CC=${CC} CXX=${CXX} NPROC=${NPROC}
- $CC --version
- $CXX --version
script: make -j $NPROC allall && make simple-test
notifications:
slack:
secure: K/SdL+S1lb+Vf3KucmiMh4Fyd9sWmosw+mSRjtAjAzXUYZ3zMp91bM6GzHVD1nonMQWDu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42lu+zjJV9BIn/Fwn+xC0syRazgDimkfPLbn/aAEBKeofwdk/DHb3amBtbHsEFZsAdI5Mrq/tIuCYO0i7jYxlmNTNsXA5a0gF1OExGJvPPDV2/lp/bPx/ncvcZvwjpst6BEyJURmM5MsMCeHbiuPvlVmA4R29BTMBaW/ZN5smF4E+CkV2IxPlpgh2c+YSX44ikYnG3v4H5QKxLI4W4E+TTn9/1EmdO0KMzNG8gEiNnKcTg=
20 changes: 13 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
prefix = /usr/local
bindir = $(prefix)/bin

SEQAN_DIR = ./SeqAn-1.1
SEQAN_DIR = ./third_party/seqan-library-1.4.2/include
# treat SeqAn as a sysdir to suppress warnings
SEQAN_INC = -isystem $(SEQAN_DIR)
INC = $(if $(RELEASE_BUILD),-I$(CURDIR)/.include) $(SEQAN_INC) -I third_party
CPP = g++
CXX = $(CPP)
CC = gcc
INC = $(if $(RELEASE_BUILD),-I$(CURDIR)/.include) $(SEQAN_INC)
CPP ?= g++
CXX ?= $(CPP)
CC ?= gcc
LIBS = $(LDFLAGS) $(if $(RELEASE_BUILD),-L$(CURDIR)/.lib) -lz
HEADERS = $(wildcard *.h)
BOWTIE_MM = 1
Expand Down Expand Up @@ -162,6 +162,12 @@ VERSION = $(shell cat VERSION)
BITS=32
ifeq (x86_64,$(shell uname -m))
BITS=64
else ifeq (aarch64,$(shell uname -m))
BITS=64
else ifeq (s390x,$(shell uname -m))
BITS=64
else ifeq (ppc64le,$(shell uname -m))
BITS=64
endif
# msys will always be 32 bit so look at the cpu arch instead.
ifneq (,$(findstring AMD64,$(PROCESSOR_ARCHITEW6432)))
Expand All @@ -180,8 +186,8 @@ ifeq (32,$(BITS))
$(error bowtie2 compilation requires a 64-bit platform )
endif

DEBUG_FLAGS = -O0 -g3 -m64
RELEASE_FLAGS = -O3 -m64
DEBUG_FLAGS = -O0 -g3
RELEASE_FLAGS = -O3
NOASSERT_FLAGS = -DNDEBUG
FILE_FLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE

Expand Down
Loading