Comments (2)
Is there a fully documented example from start? Would be nice to see it in the main readme.
from gcc-toolchain.
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,
)
from gcc-toolchain.
Related Issues (20)
- [Bug]: Build fails for .s assembly files HOT 1
- [Bug]: C compilation breaks when using gcc 12 HOT 3
- [Bug]: libstdc++ is not bundled HOT 1
- [Bug]: Headers present in the sysroot but not available in the bazel sandbox HOT 1
- [Bug]: Keeping `--cpu=k8` on macos throws `does not contain a toolchain for cpu 'k8'`. Removing the cpu flag breaks cross-platform caching for remote builds with the same remote_host architecture. HOT 1
- [Bug]: `gcc_toolchain` parameters like `includes` replaces all items instead of being extras as documented HOT 1
- Why build sysroot from source code HOT 2
- [FR]: can copts come after extra_cxxflags?
- [Bug]: aarch64 target failing HOT 2
- [Bug]: Hermetic GCC toolchain and @io_bazel_rules_go produce warnings building debug-mode shared libraries HOT 1
- [Bug]: incompatible_sandbox_hermetic_tmp (on by default in bazel 7.0.0) breaks the gcc wrapper HOT 1
- Moving from aspect-build to f0rmiga broke builds HOT 2
- Upload tarballs with every release HOT 1
- Dependency Dashboard
- Rename master branch to main
- How to achieve better build performance? HOT 11
- WORKSPACE snippet to use gcc-toolchain HOT 3
- macOS/Windows support HOT 6
- Error during bazel build: cannot find /usr/lib/libc.so.6 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcc-toolchain.