@@ -9,7 +9,17 @@ bazel_dep(name = "platforms", version = "0.0.11")
99bazel_dep (name = "bazel_skylib" , version = "1.7.1" )
1010bazel_dep (name = "rules_flex" , version = "0.3.1" )
1111bazel_dep (name = "rules_bison" , version = "0.3.1" )
12+
13+ # The current rules_cc 0.1.1 hardcodes script locations to `#!/bin/bash`
14+ # instead of using `#!/usr/bin/env bash`.
15+ # This is fixed by https://github.com/bazelbuild/rules_cc/pull/306 but
16+ # is not released yet. Use rules_cc from that commit.
1217bazel_dep (name = "rules_cc" , version = "0.1.1" )
18+ git_override (
19+ module_name = "rules_cc" ,
20+ commit = "d74915024017250e46d95e91a3defc34174effe0" ,
21+ remote = "https://github.com/bazelbuild/rules_cc" ,
22+ )
1323
1424# Not all boost libs are available at the latest version yet, so use a
1525# slightly older one that has all we need.
@@ -26,24 +36,25 @@ bazel_dep(name = "boost.bind", version = BOOST_VERSION)
2636bazel_dep (name = "boost.config" , version = BOOST_VERSION )
2737bazel_dep (name = "boost.core" , version = BOOST_VERSION )
2838bazel_dep (name = "boost.fusion" , version = BOOST_VERSION )
29- bazel_dep (name = "boost.geometry" , version = BOOST_VERSION )
30- bazel_dep (name = "boost.graph" , version = BOOST_VERSION )
39+ bazel_dep (name = "boost.geometry" , version = BOOST_VERSION + ".bcr.2" )
40+ bazel_dep (name = "boost.graph" , version = BOOST_VERSION + ".bcr.2" )
3141bazel_dep (name = "boost.heap" , version = BOOST_VERSION )
3242bazel_dep (name = "boost.icl" , version = BOOST_VERSION )
33- bazel_dep (name = "boost.json" , version = BOOST_VERSION )
34- bazel_dep (name = "boost.lambda" , version = BOOST_VERSION )
35- bazel_dep (name = "boost.multi_array" , version = BOOST_VERSION )
43+ bazel_dep (name = "boost.json" , version = BOOST_VERSION + ".bcr.2" )
44+ bazel_dep (name = "boost.lambda" , version = BOOST_VERSION + ".bcr.2" )
45+ bazel_dep (name = "boost.multi_array" , version = BOOST_VERSION + ".bcr.2" )
3646bazel_dep (name = "boost.optional" , version = BOOST_VERSION )
3747bazel_dep (name = "boost.phoenix" , version = BOOST_VERSION )
38- bazel_dep (name = "boost.polygon" , version = BOOST_VERSION )
39- bazel_dep (name = "boost.property_tree" , version = BOOST_VERSION )
48+ bazel_dep (name = "boost.polygon" , version = BOOST_VERSION + ".bcr.2" )
49+ bazel_dep (name = "boost.property_tree" , version = BOOST_VERSION + ".bcr.2" )
4050bazel_dep (name = "boost.spirit" , version = BOOST_VERSION )
4151bazel_dep (name = "boost.stacktrace" , version = BOOST_VERSION )
4252bazel_dep (name = "boost.thread" , version = BOOST_VERSION )
4353bazel_dep (name = "cudd" , version = "3.0.0" )
4454bazel_dep (name = "eigen" , version = "3.4.0.bcr.2" )
4555bazel_dep (name = "or-tools" , version = "9.12" )
4656bazel_dep (name = "spdlog" , version = "1.15.1" )
57+ bazel_dep (name = "tcmalloc" , version = "0.0.0-20250331-43fcf6e" )
4758bazel_dep (name = "zlib" , version = "1.3.1.bcr.5" )
4859
4960bazel_dep (name = "googletest" , version = "1.16.0" , dev_dependency = True )
@@ -63,4 +74,5 @@ llvm.toolchain(
6374use_repo (llvm , "llvm_toolchain" )
6475# use_repo(llvm, "llvm_toolchain_llvm") # if you depend on specific tools in scripts
6576
77+ # FYI: Comment out on NixOS where you'd like to use the local clang toolchain.
6678register_toolchains ("@llvm_toolchain//:all" )
0 commit comments