diff options
author | Yesudeep Mangalapilly <yesudeep@gmail.com> | 2020-08-28 00:46:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 08:46:12 +0100 |
commit | 4475ff6b8a7a4077d7492b76ef5278a3dc53a2e4 (patch) | |
tree | 5707866335c80ed3f5302b9fbc94a815e7a6cdc2 /WORKSPACE | |
parent | 01c0ab7cbb8afdf8af46baed06514f8fae7ee2fb (diff) | |
download | google-benchmark-4475ff6b8a7a4077d7492b76ef5278a3dc53a2e4.tar.gz |
Adds -lm linker flag for FreeBSD/OpenBSD and uses github.com/bazelbuil… (#1032)
* Adds -lm linker flag for (Free|Open)BSD and uses github.com/bazelbuild/platforms for platform detection.
* Prefer selects.with_or to select the linkopts.
* @platforms appears to be implicitly available. @bazel_skylib would require updating every dependent repository.
* Re-enable platforms package.
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,3 +35,8 @@ new_local_repository( path = "/usr/include/python3.6", # May be overwritten by setup.py. ) +http_archive( + name = "platforms", + strip_prefix = "platforms-master", + urls = ["https://github.com/bazelbuild/platforms/archive/master.zip"], +) |