mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Bazel build: Update of skylib
This commit is contained in:
parent
97d0b1e00e
commit
4bb7e02a9c
1
.bazelrc
1
.bazelrc
@ -1,4 +1,5 @@
|
|||||||
build:gcc9 --cxxopt=-std=c++2a
|
build:gcc9 --cxxopt=-std=c++2a
|
||||||
|
build:gcc11 --cxxopt=-std=c++2a
|
||||||
build:clang13 --cxxopt=-std=c++17
|
build:clang13 --cxxopt=-std=c++17
|
||||||
build:vs2019 --cxxopt=/std:c++17
|
build:vs2019 --cxxopt=/std:c++17
|
||||||
build:vs2022 --cxxopt=/std:c++17
|
build:vs2022 --cxxopt=/std:c++17
|
@ -1,5 +1,3 @@
|
|||||||
# Load the cc_library rule.
|
|
||||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
|
||||||
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
|
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
|
||||||
|
|
||||||
expand_template(
|
expand_template(
|
||||||
|
14
WORKSPACE
14
WORKSPACE
@ -1,14 +0,0 @@
|
|||||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
||||||
|
|
||||||
http_archive(
|
|
||||||
name = "bazel_skylib",
|
|
||||||
strip_prefix = "bazel-skylib-2a87d4a62af886fb320883aba102255aba87275e",
|
|
||||||
urls = [
|
|
||||||
"https://github.com/bazelbuild/bazel-skylib/archive/2a87d4a62af886fb320883aba102255aba87275e.tar.gz",
|
|
||||||
],
|
|
||||||
sha256 = "d847b08d6702d2779e9eb399b54ff8920fa7521dc45e3e53572d1d8907767de7",
|
|
||||||
)
|
|
||||||
|
|
||||||
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
|
||||||
|
|
||||||
bazel_skylib_workspace()
|
|
15
WORKSPACE.bazel
Normal file
15
WORKSPACE.bazel
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
workspace(name = "catch2")
|
||||||
|
|
||||||
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
|
|
||||||
|
http_archive(
|
||||||
|
name = "bazel_skylib",
|
||||||
|
urls = [
|
||||||
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
|
||||||
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
|
||||||
|
],
|
||||||
|
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
|
||||||
|
)
|
||||||
|
|
||||||
|
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
|
||||||
|
bazel_skylib_workspace()
|
Loading…
Reference in New Issue
Block a user