Files
ortools-clone/bazel
dependabot[bot] db4e1a5de7 build(deps): bump urllib3 in /bazel in the pip group across 1 directory
Bumps the pip group with 1 update in the /bazel directory: [urllib3](https://github.com/urllib3/urllib3).


Updates `urllib3` from 2.2.2 to 2.5.0
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.2...2.5.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.5.0
  dependency-type: indirect
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 09:28:27 +00:00
..
2025-04-30 15:01:19 +02:00
2025-01-10 11:35:44 +01:00
2025-01-10 11:35:44 +01:00
2025-01-10 11:35:44 +01:00
2025-01-10 11:35:44 +01:00
2024-09-18 11:56:41 +02:00
2025-04-30 15:15:39 +02:00

OR-Tools Bazel Build Instructions

OS C++
amd64 Linux Status
arm64 MacOS Status
amd64 MacOS Status
amd64 Windows Status

Dockers [Alpine, Archlinux, Centos, Debian, Fedora, OpenSuse, Ubuntu]: Status

Introduction

| Requirement | Dependencies | Compilation | Testing | Integration | CI |

OR-Tools comes with a Bazel based build (WORKSPACE) that can be used on a wide range of platforms. If you don't have Bazel installed already, you can download it for free from https://bazel.build/.

warning: Currently OR-Tools Bazel doesn't support Python, Java nor .Net, please use the Makefile or CMake based build instead.

Requirement

You'll need:

  • Bazel >= 5.4.0.
  • A compiler with C++17 support.

Solvers supported

Here the list of supported solvers:

  • CP-SAT
  • GLOP
  • GLPK
  • PDLP
  • SCIP

Dependencies

OR-Tools depends on several mandatory libraries.

  • Eigen
  • Google Abseil-cpp,
  • Google Protobuf,
  • Google Gtest,
  • Bliss,
  • SCIP,
  • GLPK (GNU Linear Programming Kit)

Compilation

You must compile OR-Tools using at least C++17 (C++20 on windows):

  • on UNIX:

    bazel build -c opt --cxxopt=-std=c++17 ...
    
  • on Windows when using MSVC:

    bazel build -c opt --cxxopt="/std:c++20" ...
    

Testing

You may run tests using:

  • on UNIX:

    bazel test -c opt --cxxopt=-std=c++17 ...
    
  • on Windows when using MSVC:

    bazel test -c opt --cxxopt="/std:c++20" ...
    

Integration

To integrate OR-Tools in your own Bazel project, you can take a look at the template project: or-tools/bazel_or-tools.