jupyter
This commit is contained in:
@@ -694,7 +694,7 @@ class CCDescriptor(object):
|
||||
print('YAP_UserCPredicate("gecode_constraint_%s", gecode_constraint_%s, %d);' \
|
||||
% (self.api, self.api, len(self.argtypes)))
|
||||
|
||||
GECODE_VERSION = None
|
||||
GECODE_VERSION = "6.1.1"
|
||||
|
||||
def gecode_version():
|
||||
#import pdb; pdb.set_trace()
|
||||
|
@@ -1,5 +1,5 @@
|
||||
GECODEDIR := $(shell g++ $(CPPFLAGS) $(CXXFLAGS) -H -E gecodedir.hh 2>&1 >/dev/null | grep gecode/kernel.hh | awk '{print $$2}' | sed 's|/kernel.hh||')
|
||||
GECODEDIR=/usr/local/opt/gecode/include/gecode
|
||||
GECODEDIR=/usr/include/gecode
|
||||
GECODECONFIG := $(GECODEDIR)/support/config.hpp
|
||||
GECODEVERSION := $(shell cat $(GECODECONFIG) | egrep '\<GECODE_VERSION\>' | awk '{print $$3}' | sed 's/"//g')
|
||||
PROTOTYPES = ../gecode-prototypes-$(GECODEVERSION).hh
|
||||
|
Reference in New Issue
Block a user