Skip to content

Commit

Permalink
Merge branch 'turn_on_bliss_by_default_in_makefile' into 'v80-bugfix'
Browse files Browse the repository at this point in the history
turn on bliss by default in makefile

See merge request integer/scip!2962
  • Loading branch information
fschloesser committed Dec 13, 2022
2 parents 640603d + 10baf53 commit 62fab8a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Build system

### Makefile

- Use SYM=bliss by default, since bliss now is shipped with SCIP.

Fixed bugs
----------

Expand Down
2 changes: 1 addition & 1 deletion make/make.project
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ OPT = opt
COMP = gnu
LPS = spx2
TPI = none
SYM = none
SYM = bliss
PAPILO = false
STATICLIBEXT = a
SHAREDLIBEXT = so
Expand Down
3 changes: 3 additions & 0 deletions src/bliss/include/bliss/defs.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#include <cassert>
#include <cstdarg>

//SV https://en.cppreference.com/w/cpp/language/operator_alternative
#include <ciso646>

/** \file
* \brief Some common definitions.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/bliss/include/bliss/utils.hh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#include <vector>
#include <cstdio>

//SV https://en.cppreference.com/w/cpp/language/operator_alternative
#include <ciso646>

namespace bliss {

/**
Expand Down
4 changes: 2 additions & 2 deletions src/symmetry/compute_symmetry_bliss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -971,9 +971,9 @@ initStaticBlissName( )
{
blissname = new char[100];
#ifdef BLISS_PATCH_PRESENT
(void) snprintf(blissname, 100, "bliss %sp", bliss::version);
(void) SCIPsnprintf(blissname, 100, "bliss %sp", bliss::version);
#else
(void) snprintf(blissname, 100, "bliss %s", bliss::version);
(void) SCIPsnprintf(blissname, 100, "bliss %s", bliss::version);
#endif
return blissname;
}
Expand Down

0 comments on commit 62fab8a

Please sign in to comment.