rules_foreign_cc/examples/cmake_crosstool/WORKSPACE

27 lines
862 B
Python

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "org_linaro_components_toolchain_gcc_5_3_1",
build_file = "@//:compilers/linaro_linux_gcc_5.3.1.BUILD",
strip_prefix = "gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf",
url = "https://bazel-mirror.storage.googleapis.com/releases.linaro.org/components/toolchain/binaries/latest-5/arm-linux-gnueabihf/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz",
)
local_repository(
name = "rules_foreign_cc",
path = "../..",
)
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
local_repository(
name = "cmake_hello_world_lib",
path = "../cmake_hello_world_lib/static",
)