Skip to content

Commit 1abc5f1

Browse files
committed
Change build mode to release
1 parent e5ac26f commit 1abc5f1

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

R/SAIGE_SPATest_Marker.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ SAIGE.Marker = function(traitType,
6464
if (chrom == "") {
6565
stop("chrom needs to be specified for single-variant assoc tests when using VCZ as input\n")
6666
} else {
67-
set_iterator_inVcz("", chrom, 1, 250000000)
67+
set_iterator_inVcz(chrom, 1, 250000000)
6868
}
6969
}
7070

src/CMakeLists.txt

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1...3.29)
22

33
project(SAIGE)
44

5-
set(CMAKE_BUILD_TYPE Debug)
5+
set(CMAKE_BUILD_TYPE Release)
66
set(CMAKE_CXX_STANDARD 17)
77
set(CMAKE_CXX_STANDARD_REQUIRED True)
88
set(CMAKE_CXX_EXTENSIONS OFF)
@@ -23,11 +23,6 @@ FetchContent_MakeAvailable(tensorstore)
2323

2424
# Define a target that depends on TensorStore...
2525

26-
target_compile_options(
27-
vcz
28-
PRIVATE
29-
-O0
30-
)
3126
target_link_libraries(
3227
vcz
3328
PRIVATE

src/Makevars

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ PKG_CPPFLAGS = \
22
-I ../thirdParty/cget/include \
33
-I ../thirdParty/cget/lib \
44
-I ../thirdParty/cget/lib64 \
5-
-D SQLITE_ENABLE_COLUMN_METADATA -fpic -Wall -Wextra -pedantic -DARMA_64BIT_WORD=1 -D__STDC_FORMAT_MACROS \
6-
-g -O0 -fno-inline -fno-omit-frame-pointer
5+
-D SQLITE_ENABLE_COLUMN_METADATA -fpic -Wall -Wextra -pedantic -DARMA_64BIT_WORD=1 -D__STDC_FORMAT_MACROS
76

87
CXX_STD = CXX17
98

@@ -20,7 +19,7 @@ all: $(SHLIB)
2019
$(SHLIB): ${OBJECTS} Makevars libvcz$(SHLIB_EXT)
2120

2221
libvcz$(SHLIB_EXT): VCZ.cpp | build
23-
cmake --build ./build --parallel
22+
cmake --build ./build
2423
cmake --install ./build
2524

2625
build: CMakeLists.txt

0 commit comments

Comments
 (0)