diff --git a/src/scip/buildflags.h b/src/scip/buildflags.h index c686abcd20..1ea6a4fbf4 100644 --- a/src/scip/buildflags.h +++ b/src/scip/buildflags.h @@ -0,0 +1,86 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +/* */ +/* This file is part of the program and library */ +/* SCIP --- Solving Constraint Integer Programs */ +/* */ +/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ +/* See the License for the specific language governing permissions and */ +/* limitations under the License. */ +/* */ +/* You should have received a copy of the Apache-2.0 license */ +/* along with SCIP; see the file LICENSE. If not visit scipopt.org. */ +/* */ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +#if defined(__linux__) +#define SCIP_OSTYPE "Linux" +#elif defined(__APPLE__) +#define SCIP_OSTYPE "Darwin" +#elif defined(__FreeBSD__) +#define SCIP_OSTYPE "FreeBSD" +#elif defined(__NetBSD__) +#define SCIP_OSTYPE "NetBSD" +#elif defined(__OpenBSD__) +#define SCIP_OSTYPE "OpenBSD" +#elif defined(_MSC_VER) || defined(__MINGW64__) +#define SCIP_OSTYPE "Windows" +#else +#define SCIP_OSTYPE "UnknownArch" +#endif + +#if defined(__clang__) +#define SCIP_COMP "CLang" +#elif defined(__GNUC__) || defined(__GNUG__) +#define SCIP_COMP "GCC" +#elif defined(_MSC_VER) +#define SCIP_COMP "VisualStudio" +#else +#define SCIP_COMP "UnknownCompiler" +#endif + +#if defined(__x86_64__) || defined(_M_X64) +#define SCIP_ARCH "x86_64" +#elif defined(__aarch64__) +#define SCIP_ARCH "arm64" +#else +#define SCIP_ARCH "UnknownArch" +#endif + +#define SCIP_BUILDFLAGS \ + "ARCH=" SCIP_ARCH "\n " \ + "OSTYPE=" SCIP_OSTYPE "\n " \ + "COMP=" SCIP_COMP "\n " \ + "BUILD=Release\n " \ + "DEBUGSOL=OFF\n " \ + "EXPRINT=none\n " \ + "SYM=none\n " \ + "GMP=OFF\n " \ + "IPOPT=OFF\n " \ + "WORHP=OFF\n " \ + "LPS=spx2\n " \ + "LPSCHECK=OFF\n " \ + "NOBLKBUFMEM=OFF\n " \ + "NOBLKMEM=OFF\n " \ + "NOBUFMEM=OFF\n " \ + "THREADSAFE=ON; " \ + "FORCE\n " \ + "READLINE=OFF\n " \ + "SANITIZE_ADDRESS=OFF\n " \ + "SANITIZE_MEMORY=OFF\n " \ + "SANITIZE_UNDEFINED=OFF\n " \ + "SANITIZE_THREAD=OFF\n " \ + "SHARED=OFF\n " \ + "VERSION=9.2.2\n " \ + "API_VERSION=115\n " \ + "ZIMPL=OFF\n " \ + "ZLIB=ON"