Skip to content

or-tools 9.14 #227389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

or-tools 9.14 #227389

wants to merge 1 commit into from

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
## What's Changed
* CFT Heuristic for Set Covering by @c4v4 in https://github.com/google/or-tools/pull/4607
* [Set-Cover-CFT] Outer Refinement Procedure by @c4v4 in https://github.com/google/or-tools/pull/4628
* Fix bz2.dll install path for windows-cpp archive by @flomnes in https://github.com/google/or-tools/pull/4685

New Contributors

Full Changelog: google/or-tools@v9.13...v9.14

View the full release notes at https://github.com/google/or-tools/releases/tag/v9.14.


@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Jun 19, 2025
@chenrui333
Copy link
Member

@botantony
Copy link
Contributor

botantony commented Jun 20, 2025

It seems like the patch is not needed anymore: google/or-tools@62dca6e
I checked all files in this patch and only ortools/sat/disjunctive.cc doesn't include absl/log/vlog_is_on.h

Formula builds without the patch (with -DUSE_SCIP=OFF CMake flag) but fails test

==> Testing or-tools
==> cmake -S . -B . -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/or-tools/9.14 -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=/opt/homebrew/Library/Homebrew/cmake/trap_fetchcontent_provider.cmake -Wno-dev -DBUILD_TESTING=OFF -DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Found BZip2: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libbz2.tbd (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Protobuf: /opt/homebrew/lib/libprotobuf.dylib (found version "5.29.3")
-- Found re2: /opt/homebrew/lib/cmake/re2/re2Config.cmake (found version "11.0.0")
-- Found Eigen3: /opt/homebrew/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.0")
-- Configuring done (0.7s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_INSTALL_LIBDIR


-- Build files have been written to: /private/tmp/or-tools-test-20250620-44184-m80bvq
==> cmake --build .
Change Dir: '/private/tmp/or-tools-test-20250620-44184-m80bvq'

Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/opt/homebrew/bin/cmake -S/private/tmp/or-tools-test-20250620-44184-m80bvq -B/private/tmp/or-tools-test-20250620-44184-m80bvq --check-build-system CMakeFiles/Makefile.cmake 0
/opt/homebrew/bin/cmake -E cmake_progress_start /private/tmp/or-tools-test-20250620-44184-m80bvq/CMakeFiles /private/tmp/or-tools-test-20250620-44184-m80bvq//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/simple_lp_program.dir/build.make CMakeFiles/simple_lp_program.dir/depend
cd /private/tmp/or-tools-test-20250620-44184-m80bvq && /opt/homebrew/bin/cmake -E cmake_depends "Unix Makefiles" /private/tmp/or-tools-test-20250620-44184-m80bvq /private/tmp/or-tools-test-20250620-44184-m80bvq /private/tmp/or-tools-test-20250620-44184-m80bvq /private/tmp/or-tools-test-20250620-44184-m80bvq /private/tmp/or-tools-test-20250620-44184-m80bvq/CMakeFiles/simple_lp_program.dir/DependInfo.cmake "--color="
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/simple_lp_program.dir/build.make CMakeFiles/simple_lp_program.dir/build
[ 50%] Building CXX object CMakeFiles/simple_lp_program.dir/opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc.o
/usr/bin/clang++ -DOR_PROTO_DLL="" -DUSE_BOP -DUSE_CBC -DUSE_CLP -DUSE_GLOP -DUSE_MATH_OPT -DUSE_PDLP -isystem /opt/homebrew/include -isystem /opt/homebrew/Cellar/cbc/2.10.12/include/cbc/coin -isystem /opt/homebrew/Cellar/cgl/0.60.9/include/cgl/coin -isystem /opt/homebrew/Cellar/clp/1.17.10/include/clp/coin -isystem /opt/homebrew/Cellar/osi/0.108.11/include/osi/coin -isystem /opt/homebrew/Cellar/coinutils/2.11.12/include/coinutils/coin -isystem /opt/homebrew/include/eigen3 -Os -w -pipe  -mmacosx-version-min=15 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -fPIE -fwrapv -MD -MT CMakeFiles/simple_lp_program.dir/opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc.o -MF CMakeFiles/simple_lp_program.dir/opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc.o.d -o CMakeFiles/simple_lp_program.dir/opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc.o -c /opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc
[100%] Linking CXX executable simple_lp_program
/opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/simple_lp_program.dir/link.txt --verbose=1
/usr/bin/clang++ -Os -w -pipe  -mmacosx-version-min=15 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/homebrew/lib  -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk "CMakeFiles/simple_lp_program.dir/opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_lp_program.cc.o" -o simple_lp_program  /opt/homebrew/lib/libortools.9.14.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libz.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libbz2.tbd /opt/homebrew/lib/libabsl_die_if_null.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_parse.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_usage.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_usage_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_flags.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_initialize.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_distributions.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_seed_sequences.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_pool_urbg.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_randen.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_randen_hwaes.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_randen_hwaes_impl.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_randen_slow.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_platform.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_internal_seed_material.2407.0.0.dylib /opt/homebrew/lib/libabsl_random_seed_gen_exception.2407.0.0.dylib /opt/homebrew/lib/libabsl_leak_check.2407.0.0.dylib /opt/homebrew/lib/libabsl_statusor.2407.0.0.dylib /opt/homebrew/lib/libabsl_status.2407.0.0.dylib /opt/homebrew/lib/libabsl_bad_any_cast_impl.2407.0.0.dylib /opt/homebrew/lib/libprotobuf.dylib /opt/homebrew/lib/libre2.11.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_check_op.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_conditions.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_message.2407.0.0.dylib /opt/homebrew/lib/libabsl_examine_stack.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_format.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_proto.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_nullguard.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_log_sink_set.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_globals.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_globals.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_sink.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_entry.2407.0.0.dylib /opt/homebrew/lib/libabsl_strerror.2407.0.0.dylib /opt/homebrew/lib/libabsl_vlog_config_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_internal_fnmatch.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_reflection.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_private_handle_accessor.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_commandlineflag.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_marshalling.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_config.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_program_name.2407.0.0.dylib /opt/homebrew/lib/libabsl_flags_commandlineflag_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_raw_hash_set.2407.0.0.dylib /opt/homebrew/lib/libabsl_hashtablez_sampler.2407.0.0.dylib /opt/homebrew/lib/libabsl_cord.2407.0.0.dylib /opt/homebrew/lib/libabsl_cordz_info.2407.0.0.dylib /opt/homebrew/lib/libabsl_cord_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_cordz_functions.2407.0.0.dylib /opt/homebrew/lib/libabsl_exponential_biased.2407.0.0.dylib /opt/homebrew/lib/libabsl_cordz_handle.2407.0.0.dylib /opt/homebrew/lib/libabsl_synchronization.2407.0.0.dylib /opt/homebrew/lib/libabsl_stacktrace.2407.0.0.dylib /opt/homebrew/lib/libabsl_symbolize.2407.0.0.dylib /opt/homebrew/lib/libabsl_debugging_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_demangle_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_demangle_rust.2407.0.0.dylib /opt/homebrew/lib/libabsl_decode_rust_punycode.2407.0.0.dylib /opt/homebrew/lib/libabsl_utf8_for_code_point.2407.0.0.dylib /opt/homebrew/lib/libabsl_graphcycles_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_kernel_timeout_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_time.2407.0.0.dylib /opt/homebrew/lib/libabsl_civil_time.2407.0.0.dylib /opt/homebrew/lib/libabsl_time_zone.2407.0.0.dylib -Wl,-framework,CoreFoundation /opt/homebrew/lib/libabsl_malloc_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_crc_cord_state.2407.0.0.dylib /opt/homebrew/lib/libabsl_crc32c.2407.0.0.dylib /opt/homebrew/lib/libabsl_str_format_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_crc_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_crc_cpu_detect.2407.0.0.dylib /opt/homebrew/lib/libabsl_hash.2407.0.0.dylib /opt/homebrew/lib/libabsl_bad_optional_access.2407.0.0.dylib /opt/homebrew/lib/libabsl_city.2407.0.0.dylib /opt/homebrew/lib/libabsl_bad_variant_access.2407.0.0.dylib /opt/homebrew/lib/libabsl_low_level_hash.2407.0.0.dylib /opt/homebrew/lib/libabsl_strings.2407.0.0.dylib /opt/homebrew/lib/libabsl_int128.2407.0.0.dylib /opt/homebrew/lib/libabsl_strings_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_string_view.2407.0.0.dylib /opt/homebrew/lib/libabsl_base.2407.0.0.dylib /opt/homebrew/lib/libabsl_spinlock_wait.2407.0.0.dylib /opt/homebrew/lib/libabsl_throw_delegate.2407.0.0.dylib /opt/homebrew/lib/libabsl_raw_logging_internal.2407.0.0.dylib /opt/homebrew/lib/libabsl_log_severity.2407.0.0.dylib /opt/homebrew/Cellar/cbc/2.10.12/lib/libOsiCbc.dylib /opt/homebrew/Cellar/cbc/2.10.12/lib/libCbcSolver.dylib /opt/homebrew/Cellar/cbc/2.10.12/lib/libCbc.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libpthread.tbd /opt/homebrew/Cellar/cgl/0.60.9/lib/libCgl.dylib /opt/homebrew/Cellar/clp/1.17.10/lib/libOsiClp.dylib /opt/homebrew/Cellar/clp/1.17.10/lib/libClpSolver.dylib /opt/homebrew/Cellar/clp/1.17.10/lib/libClp.dylib /opt/homebrew/Cellar/osi/0.108.11/lib/libOsi.dylib /opt/homebrew/Cellar/coinutils/2.11.12/lib/libCoinUtils.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libbz2.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libz.tbd /opt/homebrew/opt/openblas/lib/libopenblas.dylib /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libm.tbd
[100%] Built target simple_lp_program
/opt/homebrew/bin/cmake -E cmake_progress_start /private/tmp/or-tools-test-20250620-44184-m80bvq/CMakeFiles 0

==> ./simple_lp_program
I0620 23:04:51.780819 23743561 simple_lp_program.cc:39] Number of variables = 2
I0620 23:04:51.780848 23743561 simple_lp_program.cc:53] Number of constraints = 2
I0620 23:04:51.780976 23743561 simple_lp_program.cc:73] Solution:

I0620 23:04:51.780979 23743561 simple_lp_program.cc:74] Objective value = 25
I0620 23:04:51.780983 23743561 simple_lp_program.cc:75] x = 0
I0620 23:04:51.780984 23743561 simple_lp_program.cc:76] y = 2.5
I0620 23:04:51.780985 23743561 simple_lp_program.cc:80]
Advanced usage:
I0620 23:04:51.780986 23743561 simple_lp_program.cc:81] Problem solved in 0 milliseconds
I0620 23:04:51.780987 23743561 simple_lp_program.cc:82] Problem solved in 0 iterations
==> pkg-config --cflags --libs absl_check absl_log
==> /usr/bin/clang++ -std=c++20 /opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_routing_program.cc -I/opt/homebrew/Cellar/or-tools/9.14/include -L/opt/homebrew/Cellar/or-tools/9.14/lib -lortools -I/opt/homebrew/Cellar/abseil/20240722.1/include -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -L/opt/homebrew/Cellar/abseil/20240722.1/lib -labsl_log_internal_check_op -labsl_log_internal_conditions -labsl_log_internal_message -labsl_examine_stack -labsl_log_internal_format -labsl_str_format_internal -labsl_log_internal_proto -labsl_log_internal_nullguard -labsl_log_internal_log_sink_set -labsl_log_internal_globals -labsl_log_globals -labsl_hash -labsl_city -labsl_bad_variant_access -labsl_low_level_hash -labsl_log_sink -labsl_log_entry -labsl_strerror -labsl_vlog_config_internal -labsl_log_internal_fnmatch -labsl_synchronization -labsl_graphcycles_internal -labsl_kernel_timeout_internal -labsl_stacktrace -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_demangle_rust -labsl_decode_rust_punycode -labsl_utf8_for_code_point -labsl_malloc_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_bad_optional_access -labsl_strings -labsl_strings_internal -labsl_string_view -labsl_base -labsl_spinlock_wait -labsl_int128 -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity -o simple_routing_program
In file included from /opt/homebrew/Cellar/or-tools/9.14/share/or-tools/simple_routing_program.cc:21:
In file included from /opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/routing.h:184:
In file included from /opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/constraint_solver.h:100:
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:50:3: error: expected expression
   50 |   static const ::uint32_t offsets[];
      |   ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:21: error: variable has incomplete type 'struct OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |                     ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:52:57: error: no member named 'DescriptorTable' in namespace 'google::protobuf::internal'
   52 | OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:52:72: error: expected ';' after top level declarator
   52 | OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable
      |                                                                        ^
      |                                                                        ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:57:66: error: expected ';' after top level declarator
   57 | OR_PROTO_DLL extern ConstraintSolverStatisticsDefaultTypeInternal _ConstraintSolverStatistics_default_instance_;
      |                                                                  ^
      |                                                                  ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:60:61: error: expected ';' after top level declarator
   60 | OR_PROTO_DLL extern LocalSearchStatisticsDefaultTypeInternal _LocalSearchStatistics_default_instance_;
      |                                                             ^
      |                                                             ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:63:85: error: expected ';' after top level declarator
   63 | OR_PROTO_DLL extern LocalSearchStatistics_FirstSolutionStatisticsDefaultTypeInternal _LocalSearchStatistics_FirstSolutionStatistics_default_instance_;
      |                                                                                     ^
      |                                                                                     ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:66:89: error: expected ';' after top level declarator
   66 | OR_PROTO_DLL extern LocalSearchStatistics_LocalSearchFilterStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchFilterStatistics_default_instance_;
      |                                                                                         ^
      |                                                                                         ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:69:91: error: expected ';' after top level declarator
   69 | OR_PROTO_DLL extern LocalSearchStatistics_LocalSearchOperatorStatisticsDefaultTypeInternal _LocalSearchStatistics_LocalSearchOperatorStatistics_default_instance_;
      |                                                                                           ^
      |                                                                                           ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:72:56: error: expected ';' after top level declarator
   72 | OR_PROTO_DLL extern SearchStatisticsDefaultTypeInternal _SearchStatistics_default_instance_;
      |                                                        ^
      |                                                        ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:86:20: error: variable has incomplete type 'class OR_PROTO_DLL'
   86 | class OR_PROTO_DLL LocalSearchStatistics_LocalSearchOperatorStatistics final : public ::google::protobuf::Message
      |                    ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:86:71: error: expected ';' after top level declarator
   86 | class OR_PROTO_DLL LocalSearchStatistics_LocalSearchOperatorStatistics final : public ::google::protobuf::Message
      |                                                                       ^
      |                                                                       ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:354:20: error: variable has incomplete type 'class OR_PROTO_DLL'
  354 | class OR_PROTO_DLL LocalSearchStatistics_LocalSearchFilterStatistics final : public ::google::protobuf::Message
      |                    ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:354:69: error: expected ';' after top level declarator
  354 | class OR_PROTO_DLL LocalSearchStatistics_LocalSearchFilterStatistics final : public ::google::protobuf::Message
      |                                                                     ^
      |                                                                     ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:616:20: error: variable has incomplete type 'class OR_PROTO_DLL'
  616 | class OR_PROTO_DLL LocalSearchStatistics_FirstSolutionStatistics final : public ::google::protobuf::Message
      |                    ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:616:65: error: expected ';' after top level declarator
  616 | class OR_PROTO_DLL LocalSearchStatistics_FirstSolutionStatistics final : public ::google::protobuf::Message
      |                                                                 ^
      |                                                                 ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:824:20: error: variable has incomplete type 'class OR_PROTO_DLL'
  824 | class OR_PROTO_DLL ConstraintSolverStatistics final : public ::google::protobuf::Message
      |                    ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:824:46: error: expected ';' after top level declarator
  824 | class OR_PROTO_DLL ConstraintSolverStatistics final : public ::google::protobuf::Message
      |                                              ^
      |                                              ;
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:1062:20: error: variable has incomplete type 'class OR_PROTO_DLL'
 1062 | class OR_PROTO_DLL LocalSearchStatistics final : public ::google::protobuf::Message
      |                    ^
/opt/homebrew/Cellar/or-tools/9.14/include/ortools/constraint_solver/search_stats.pb.h:49:8: note: forward declaration of 'OR_PROTO_DLL'
   49 | struct OR_PROTO_DLL TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5fstats_2eproto {
      |        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

@chenrui333 chenrui333 added in progress Stale bot should stay away CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels Jun 22, 2025
@Moisan
Copy link
Member

Moisan commented Jun 23, 2025

Upstream release mentions Bump Protobuf to v31.1 so this will need to wait for the protobuf upgrade.

Seems like I was wrong, I've been able to build locally following @botany pointers and adding a few absl libs to the test build. I also needed to add OR_PROTO_DLL flags which I found by checking the command used when building or-tools with BUILD_SAMPLE=ON.

@Moisan Moisan force-pushed the bump-or-tools-9.14 branch from cb460e1 to 0924a30 Compare June 24, 2025 18:07
@Moisan Moisan force-pushed the bump-or-tools-9.14 branch from 0924a30 to 3ddc28d Compare June 25, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. in progress Stale bot should stay away
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants