Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill in readme and user documentation #75

Open
alexeagle opened this issue Aug 1, 2022 · 2 comments
Open

Fill in readme and user documentation #75

alexeagle opened this issue Aug 1, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@alexeagle
Copy link
Contributor

Currently it's a mystery what is the value prop, and how to adopt and use this repo.

rules_js and rules_py READMEs are a place to start - and we need high-level documentation as well.

@cgrindel cgrindel added documentation Improvements or additions to documentation prioritized labels Sep 28, 2022
@derived-coder
Copy link

Is there a fully documented example from start? Would be nice to see it in the main readme.

@Warchant
Copy link

Warchant commented Feb 27, 2023

I'd write one by myself, but I am unable to use this toolchain at all... I am using bazel 5.3.0

ERROR: error loading package '': Every .bzl file must have a corresponding package, but '@hermetic_gcc_linux//toolchain:repositories.bzl' does not have one. Please create a BUILD file in the same or any parent directory. Note that this BUIL
http_archive(
    name = "hermetic_gcc_linux",
    urls = [
        "https://github.com/aspect-build/gcc-toolchain/archive/refs/tags/0.4.2.zip"
    ],
    sha256 = ""
)
load("@hermetic_gcc_linux//toolchain:repositories.bzl", "gcc_toolchain_dependencies")
gcc_toolchain_dependencies()

load("//:internal.bzl", "internal_dependencies")

internal_dependencies()

load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")

rules_pkg_dependencies()

load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()

load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

aspect_bazel_lib_dependencies()

load("@hermetic_gcc_linux//toolchain:defs.bzl", "gcc_register_toolchain", "ARCHS")
gcc_register_toolchain(
    name = "gcc_toolchain_x86_64",
    sysroot_variant = "x86_64-X11",
    target_arch = ARCHS.x86_64,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants