Skip to content

Latest commit

 

History

History
 
 

bazel

OR-Tools Bazel Build Instructions

Status

Introduction

| Dependencies | 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.

OR-Tools depends on severals mandatory libraries.

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

Compilation

You must compile OR-Tools using C++17:

  • on UNIX: --cxxopt=-std=c++17
  • on Windows when using MSVC: --cxxopt="-std:c++17"

TODO