bazel: use scip TPI_NONE
TPI_TNY won't work in JAVA wrapper
This commit is contained in:
@@ -64,7 +64,7 @@ index 0000000000..871fde8e55
|
||||
+/* #undef SCIP_NO_SIGACTION */
|
||||
+/* #undef SCIP_NO_STRTOK_R */
|
||||
+/* #undef TPI_NONE */
|
||||
+#define TPI_TNY
|
||||
+#define TPI_NONE
|
||||
+/* #undef TPI_OMP */
|
||||
+#define SCIP_THREADSAFE
|
||||
+#define WITH_SCIPDEF
|
||||
|
||||
@@ -88,7 +88,8 @@ cc_library(
|
||||
],
|
||||
) + BLISS_FILE + [
|
||||
"src/scip/exprinterpret_none.c",
|
||||
"src/tpi/tpi_tnycthrd.c",
|
||||
#"src/tpi/tpi_tnycthrd.c",
|
||||
"src/tpi/tpi_none.c",
|
||||
],
|
||||
hdrs = glob(
|
||||
[
|
||||
@@ -104,7 +105,8 @@ cc_library(
|
||||
]),
|
||||
copts = [
|
||||
"$(STACK_FRAME_UNLIMITED)", # src/scip/reader_cnf.c
|
||||
"-DTPI_TNY", # src/tpi/type_tpi_tnycthrd.h
|
||||
#"-DTPI_TNY", # src/tpi/type_tpi_tnycthrd.h
|
||||
"-DTPI_NONE", # src/tpi/type_tpi_none.h
|
||||
"-Isrc",
|
||||
"-Isrc/scip",
|
||||
] + PLATFORM_FLAGS,
|
||||
|
||||
Reference in New Issue
Block a user