fix: move all bazelbuild links to bazel-contrib (#1315)

This commit is contained in:
Javier Maestro 2024-11-06 15:35:23 +00:00 committed by GitHub
parent 3b0ebe8094
commit 9edaefe13c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
"bazelbuild/rules_foreign_cc" "bazel-contrib/rules_foreign_cc"
module( module(
name = "rules_foreign_cc", name = "rules_foreign_cc",

View File

@ -24,7 +24,7 @@ variable](https://bazel.build/reference/be/make-variables)
## News ## News
For more generalized updates, please see [NEWS.md](./NEWS.md) or checkout the For more generalized updates, please see [NEWS.md](./NEWS.md) or checkout the
[release notes](https://github.com/bazelbuild/rules_foreign_cc/releases) of current or previous releases [release notes](https://github.com/bazel-contrib/rules_foreign_cc/releases) of current or previous releases
## Design document ## Design document

View File

@ -2,7 +2,7 @@
# Rules ForeignCc Docs # Rules ForeignCc Docs
Up to date documentation can be found at: https://bazelbuild.github.io/rules_foreign_cc/ Up to date documentation can be found at: https://bazel-contrib.github.io/rules_foreign_cc/
## Legacy documentation ## Legacy documentation

View File

@ -2,4 +2,4 @@
title = "Rules ForeignCc" title = "Rules ForeignCc"
[output.html] [output.html]
git-repository-url = "https://github.com/bazelbuild/rules_foreign_cc" git-repository-url = "https://github.com/bazel-contrib/rules_foreign_cc"

View File

@ -4,7 +4,7 @@ Rules for building C/C++ projects using foreign build systems (non Bazel) inside
| Release | Commit | Status | | Release | Commit | Status |
| --- | --------- | --- | | --- | --------- | --- |
| {release} | [{short_commit}](https://github.com/bazelbuild/rules_foreign_cc/commit/{commit}) | [![Build status](https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main)](https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main) | | {release} | [{short_commit}](https://github.com/bazel-contrib/rules_foreign_cc/commit/{commit}) | [![Build status](https://badge.buildkite.com/c28afbf846e2077715c753dda1f4b820cdcc46cc6cde16503c.svg?branch=main)](https://buildkite.com/bazel/rules-foreign-cc/builds?branch=main) |
## Overview ## Overview
@ -26,11 +26,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive( http_archive(
name = "rules_foreign_cc", name = "rules_foreign_cc",
# TODO: Get the latest sha256 value from a bazel debug message or the latest # TODO: Get the latest sha256 value from a bazel debug message or the latest
# release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases # release on the releases page: https://github.com/bazel-contrib/rules_foreign_cc/releases
# #
# sha256 = "...", # sha256 = "...",
strip_prefix = "rules_foreign_cc-{release_archive}", strip_prefix = "rules_foreign_cc-{release_archive}",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/{release_archive}.tar.gz", url = "https://github.com/bazel-contrib/rules_foreign_cc/archive/{release_archive}.tar.gz",
) )
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")

View File

@ -2,4 +2,4 @@
title = "Rules ForeignCc" title = "Rules ForeignCc"
[output.html] [output.html]
git-repository-url = "https://github.com/bazelbuild/rules_foreign_cc" git-repository-url = "https://github.com/bazel-contrib/rules_foreign_cc"

View File

@ -39,6 +39,6 @@ A file containing a single macro `lib_repositories` that should define the desir
`BUILD.lib.bazel` file will correctly be installed when the repository is setup. This macro will need to be `BUILD.lib.bazel` file will correctly be installed when the repository is setup. This macro will need to be
loaded and called in [`third_party/repositories.bzl`](./third_party/repositories.bzl). loaded and called in [`third_party/repositories.bzl`](./third_party/repositories.bzl).
[cmake_external]: https://github.com/bazelbuild/rules_foreign_cc/tree/main/docs#cmake_external [cmake_external]: https://github.com/bazel-contrib/rules_foreign_cc/tree/main/docs#cmake_external
[configure_make]: https://github.com/bazelbuild/rules_foreign_cc/tree/main/docs#configure_make [configure_make]: https://github.com/bazel-contrib/rules_foreign_cc/tree/main/docs#configure_make
[test_suite]: https://docs.bazel.build/versions/master/be/general.html#test_suite [test_suite]: https://docs.bazel.build/versions/master/be/general.html#test_suite

View File

@ -1,5 +1,5 @@
"""An openssl build file based on a snippet found in the github issue: """An openssl build file based on a snippet found in the github issue:
https://github.com/bazelbuild/rules_foreign_cc/issues/337 https://github.com/bazel-contrib/rules_foreign_cc/issues/337
Note that the $(PERL) "make variable" (https://docs.bazel.build/versions/main/be/make-variables.html) Note that the $(PERL) "make variable" (https://docs.bazel.build/versions/main/be/make-variables.html)
is populated by the perl toolchain provided by rules_perl. is populated by the perl toolchain provided by rules_perl.

View File

@ -28,13 +28,13 @@ http_archive(
name = "rules_foreign_cc", name = "rules_foreign_cc",
sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e", sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e",
strip_prefix = "rules_foreign_cc-0.1.0", strip_prefix = "rules_foreign_cc-0.1.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip", url = "https://github.com/bazel-contrib/rules_foreign_cc/archive/0.1.0.zip",
) )
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
# This sets up some common toolchains for building targets. For more details, please see # This sets up some common toolchains for building targets. For more details, please see
# https://github.com/bazelbuild/rules_foreign_cc/tree/main/docs#rules_foreign_cc_dependencies # https://github.com/bazel-contrib/rules_foreign_cc/tree/main/docs#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies() rules_foreign_cc_dependencies()
_ALL_CONTENT = \"\"\"\\ _ALL_CONTENT = \"\"\"\\

View File

@ -125,8 +125,8 @@ def create_cmake_script(
# Avoid CMake passing the wrong linker flags when cross compiling # Avoid CMake passing the wrong linker flags when cross compiling
# by setting CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR, # by setting CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR,
# see https://github.com/bazelbuild/rules_foreign_cc/issues/289, # see https://github.com/bazel-contrib/rules_foreign_cc/issues/289,
# and https://github.com/bazelbuild/rules_foreign_cc/pull/1062 # and https://github.com/bazel-contrib/rules_foreign_cc/pull/1062
if target_os == "unknown": if target_os == "unknown":
# buildifier: disable=print # buildifier: disable=print
print("target_os is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by", current_label) print("target_os is unknown, please update foreign_cc/private/framework/platform.bzl and foreign_cc/private/cmake_script.bzl; triggered by", current_label)