From ed2df43d434632a06d7508e0530782c914e32ab6 Mon Sep 17 00:00:00 2001 From: Tim Anderson Date: Fri, 16 Feb 2024 16:08:13 -0700 Subject: [PATCH] remove address sanitizer from tests --- README.md | 5 +---- test/backtraceTest/makefile | 2 +- test/bwtTest/makefile | 2 +- test/createTests/makefile | 2 +- test/fileTests/makefile | 2 +- test/inMemorySaTest/makefile | 2 +- test/kmerSeedTableTests/makefile | 2 +- test/letterTest/makefile | 2 +- test/multiSequenceIndexTest/makefile | 2 +- test/occurrenceTests/makefile | 2 +- test/parallelSearch/makefile | 2 +- test/searchTest/makefile | 2 +- test/suffixArrayCompressionTests/makefile | 2 +- 13 files changed, 13 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 6715199..92d4b3a 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,7 @@ brew install gcc ``` -After cloning the repo, you should initialize and update the submodules. This will happen -automatically if you use the legacy build system, but there is no harm in doing -it manually for either the CMake or legacy Make builds. - +After cloning the repo, you should initialize and update the submodules. ``` git clone https://github.com/TravisWheelerLab/AvxWindowFmIndex.git git submodule update --init --recursive --remote diff --git a/test/backtraceTest/makefile b/test/backtraceTest/makefile index 5d25574..4a8246b 100644 --- a/test/backtraceTest/makefile +++ b/test/backtraceTest/makefile @@ -2,7 +2,7 @@ TEST_SRC = backtraceTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDFLAGS = -L../../build LDLIBS = -lfastavector_static -ldivsufsort64 diff --git a/test/bwtTest/makefile b/test/bwtTest/makefile index f1d5aba..fa5b33a 100644 --- a/test/bwtTest/makefile +++ b/test/bwtTest/makefile @@ -1,7 +1,7 @@ TEST_SRC = bwtTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = bwtTest.out diff --git a/test/createTests/makefile b/test/createTests/makefile index 8fd1d6a..0f5583c 100644 --- a/test/createTests/makefile +++ b/test/createTests/makefile @@ -1,7 +1,7 @@ TEST_SRC = AwFmCreationTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = createTest.out diff --git a/test/fileTests/makefile b/test/fileTests/makefile index a722da2..4667719 100644 --- a/test/fileTests/makefile +++ b/test/fileTests/makefile @@ -1,7 +1,7 @@ TEST_SRC = AwFmFileTests.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = fileTests.out diff --git a/test/inMemorySaTest/makefile b/test/inMemorySaTest/makefile index 5616779..89e006c 100644 --- a/test/inMemorySaTest/makefile +++ b/test/inMemorySaTest/makefile @@ -1,7 +1,7 @@ TEST_SRC = inMemorySaTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = saInMemTest.out diff --git a/test/kmerSeedTableTests/makefile b/test/kmerSeedTableTests/makefile index 11a3631..eb5da7f 100644 --- a/test/kmerSeedTableTests/makefile +++ b/test/kmerSeedTableTests/makefile @@ -1,7 +1,7 @@ TEST_SRC = kmerSeedTableTests.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = kmerSeedTableTests.out diff --git a/test/letterTest/makefile b/test/letterTest/makefile index cd3265c..a019b48 100644 --- a/test/letterTest/makefile +++ b/test/letterTest/makefile @@ -1,7 +1,7 @@ TEST_SRC = AwFmLetterTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3 +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3 LDLIBS = ../../lib/FastaVector/build/libfastavector_static.a ../../lib/libdivsufsort/build/lib/libdivsufsort64.a EXE = letterTest.out diff --git a/test/multiSequenceIndexTest/makefile b/test/multiSequenceIndexTest/makefile index 22b1f36..2a51893 100644 --- a/test/multiSequenceIndexTest/makefile +++ b/test/multiSequenceIndexTest/makefile @@ -1,7 +1,7 @@ TEST_SRC = AwFmMultiSequenceTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = multiSequenceTest.out diff --git a/test/occurrenceTests/makefile b/test/occurrenceTests/makefile index fb77cb6..863eef7 100644 --- a/test/occurrenceTests/makefile +++ b/test/occurrenceTests/makefile @@ -1,7 +1,7 @@ TEST_SRC = occurrenceTests.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = occurrenceTests.out diff --git a/test/parallelSearch/makefile b/test/parallelSearch/makefile index 1fb2fe9..ca15182 100644 --- a/test/parallelSearch/makefile +++ b/test/parallelSearch/makefile @@ -1,7 +1,7 @@ TEST_SRC = parallelSearchTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = parallelSearchTest.out diff --git a/test/searchTest/makefile b/test/searchTest/makefile index 101f06e..f4b480f 100644 --- a/test/searchTest/makefile +++ b/test/searchTest/makefile @@ -1,7 +1,7 @@ TEST_SRC = searchTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = searchTest.out diff --git a/test/suffixArrayCompressionTests/makefile b/test/suffixArrayCompressionTests/makefile index 2dd22cd..d7c3ab0 100644 --- a/test/suffixArrayCompressionTests/makefile +++ b/test/suffixArrayCompressionTests/makefile @@ -1,7 +1,7 @@ TEST_SRC = saTest.c SRC = $(wildcard ../../src/*.c) -CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g +CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a EXE = saTest.out