vcpkg/ports/coin-or-cbc/disable_glpk.patch

15 lines
305 B
Diff
Raw Normal View History

[coin-or-cbc] Add new port (#31607) * [cbc] Add new port * Add dependencies * [cgl] Update version to rebuild * [cbc] Update CMakeLists.txt [cgl] Revert the version * Update * add version file * adapt to new version * fix dependency name. VCPKG IS NOT CONSISTENT HERE * rename with coinor prefix, as this seems to be the standard. try different approach copied from cgl * accidentally renamed portfile * version??? * forgot add rename * quotes * try autoconf/make * more make changes * try cmake again * ifcase * try make again * really try make * add dependency libs to conf call * randomly copy stuff from other ports * without-miplib3 * try non-release version (after autoconf fixes) as in the other ports. * fix hash * skip autoconf?? * add macro patch * patch format?? * Update dep.patch * patch * weird caching?? * ???????? * sha * superfluous config options * cleanup * vcpkg commands * pkgconf patch for win * disable glpk since I do not plan to add it as a feature for now. * after conutils include * fix version * Update version database * Update ports/coin-or-cbc/portfile.cmake * Update version database * Apply suggestions from code review Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com> * add back AUTOCONFIG * try with autconfig and without configure.ac patch * Update version database * Update version database * cleanup * Update version database * chagne * Update version database --------- Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com> Co-authored-by: Jim Wang (Beyondsoft Corporation) <v-wangjim@microsoft.com> Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
2023-07-06 03:10:22 +08:00
diff --git a/src/CbcSolver.cpp b/src/CbcSolver.cpp
index 93da884..1c9d463 100644
--- a/src/CbcSolver.cpp
+++ b/src/CbcSolver.cpp
@@ -32,6 +32,9 @@
void CbcCrashHandler(int sig);
#endif
+// glpk currently not supported
+#undef COINUTILS_HAS_GLPK
+
#ifdef COINUTILS_HAS_GLPK
#include "glpk.h"
#endif