blob: 4abca62bdf8c43b6e2dbe271c00a71984e5d20ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- testscpp/Makefile.orig 2023-07-06 22:19:16 UTC
+++ testscpp/Makefile
@@ -1,15 +1,15 @@
ROOT := ..
INCLUDE := $(ROOT)/dwave/preprocessing/include
SRC := $(ROOT)/dwave/preprocessing/src
-DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())')
+#DIMOD := $(shell python -c 'import dimod; print(dimod.get_include())')
CATCH2 := $(ROOT)/testscpp/Catch2/single_include/
SPDLOG := $(ROOT)/extern/spdlog/include/
-FLAGS := -std=c++17 -Wall -Wno-unknown-pragmas -fcompare-debug-second -O3
+FLAGS := ${CXXFLAGS} -std=c++17 -Wall -Wno-unknown-pragmas
all: update tests
test_main.o:
- $(CXX) test_main.cpp -c
+ $(CXX) $(FLAGS) test_main.cpp -c
# Developer note: we could make this more generic, but because the package structure
# is not at all consistent and because we have so few test files I think it's clearer to
|