Skip to content

Commit 62fab8a

Browse files
committed
Merge branch 'turn_on_bliss_by_default_in_makefile' into 'v80-bugfix'
turn on bliss by default in makefile See merge request integer/scip!2962
2 parents 640603d + 10baf53 commit 62fab8a

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

Diff for: CHANGELOG

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Build system
2525

2626
### Makefile
2727

28+
- Use SYM=bliss by default, since bliss now is shipped with SCIP.
29+
2830
Fixed bugs
2931
----------
3032

Diff for: make/make.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ OPT = opt
101101
COMP = gnu
102102
LPS = spx2
103103
TPI = none
104-
SYM = none
104+
SYM = bliss
105105
PAPILO = false
106106
STATICLIBEXT = a
107107
SHAREDLIBEXT = so

Diff for: src/bliss/include/bliss/defs.hh

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#include <cassert>
2323
#include <cstdarg>
2424

25+
//SV https://en.cppreference.com/w/cpp/language/operator_alternative
26+
#include <ciso646>
27+
2528
/** \file
2629
* \brief Some common definitions.
2730
*/

Diff for: src/bliss/include/bliss/utils.hh

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
#include <vector>
2828
#include <cstdio>
2929

30+
//SV https://en.cppreference.com/w/cpp/language/operator_alternative
31+
#include <ciso646>
32+
3033
namespace bliss {
3134

3235
/**

Diff for: src/symmetry/compute_symmetry_bliss.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -971,9 +971,9 @@ initStaticBlissName( )
971971
{
972972
blissname = new char[100];
973973
#ifdef BLISS_PATCH_PRESENT
974-
(void) snprintf(blissname, 100, "bliss %sp", bliss::version);
974+
(void) SCIPsnprintf(blissname, 100, "bliss %sp", bliss::version);
975975
#else
976-
(void) snprintf(blissname, 100, "bliss %s", bliss::version);
976+
(void) SCIPsnprintf(blissname, 100, "bliss %s", bliss::version);
977977
#endif
978978
return blissname;
979979
}

0 commit comments

Comments
 (0)