FreeBSD compilation fail (amplmp issue) #2783
Labels
Bug
Build: CMake
CMake based build issue
Build: Makefile
Makefile based build issue
Lang: C++
Native implementation issue
OS: FreeBSD
FreeBSD OS
Milestone
When trying to build SCIP in our Vagrant generic/FreeBSD13 box (note a FreeBSD VirtualBox img) we are facing some compilation issue...
Observed
here the relevant trace (please notice we are building SCIP using FetchContent from our or-tools CMake based build)
ref: https://github.com/google/or-tools/runs/3672547012?check_suite_focus=true
https://github.com/scipopt/scip/blob/9444e80869f6ac42723f3a43712ca6d4ce0c20dc/src/amplmp/src/os.cpp#L107-L109
Expected
Have support of FreeBSD so we can use it in OR-Tools or at least a dummy function instead of this error message breaking the build ;)
Also it seems that amplmp is only use to read some .nl file so it's sad to break the build for this "optional" feature...
https://github.com/scipopt/scip/blob/9444e80869f6ac42723f3a43712ca6d4ce0c20dc/src/amplmp/README#L2
Proposal
2min googling around:
https://fossies.org/linux/sccs/libschily/getexecpath.c seems to be a good starting point to fix amplmp source code
Annexe
Vagrantfile: https://github.com/google/or-tools/blob/master/cmake/vagrant/freebsd/cpp/Vagrantfile
The text was updated successfully, but these errors were encountered: