Closed gspr closed 1 year ago
DeepMind Lab was made to require only C++11. But Abseil has since dropped support for C++11. We aren't setting any language flags explicitly, but you can add your own .bazelrc
file yourself if you like, similar to https://github.com/deepmind/lab/blob/2e17923bb2fd727cc179dd4a23f9781ec7a6f363/.precommit.bazelrc#L6 or to https://github.com/deepmind/lab2d/blob/main/.bazelrc (but set --std=c++14 or c++17).
(We should probably update the precommit-bazelrc file here so that the GitHub tests continue working.)
Thanks, that's most helpful.
I don't know if the latest git head is supposed to work at any time, but the tagged releases are unusable due to broken checksums(!), so git head it is (2e17923bb2fd727cc179dd4a23f9781ec7a6f363). GCC 10.2 should be plenty C++-14 capable, but the build attempts fail with
As we can see, something somewhere sets the
-std=c++0x
compiler flag, but I'm unable to find where due to not knowing Bazel.