rules_foreign_cc icon indicating copy to clipboard operation
rules_foreign_cc copied to clipboard

Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson)

Results 208 rules_foreign_cc issues
Sort by recently updated
recently updated
newest added

Currently when building a project for Android, the rules_foreign_cc build seems to still think the build is happening for macOS. This results in downstream CMake config not being correctly set...

So, I have the following config (using `rules_foreign_cc` 0.7.1, Bazel 4.1, Ubuntu 20.04): * workspace file: ``` http_archive( name = "openssl", build_file = "//:openssl.BUILD.bazel", sha256 = "f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96", strip_prefix = "openssl-1.1.1m",...

Can Close?

The problematic line is https://github.com/bazelbuild/rules_foreign_cc/blob/0.7.1/foreign_cc/private/framework/toolchains/linux_commands.bzl#L77. I found this out when building with remote cache turned on (gcloud in this use-case). Here, `outputUserRoot` looks like `outputRoot/[email protected]` and the substitution fails. It's...

help wanted
good first issue

Today configure and make runs on the same folder. When trying to build gdbserver this doesn't work. gdbserver configure access folders outside of gdbserver folder (../) so source filegroup starts...

Use find to get deterministic output between GNU and BSD based platforms.

From now, the latest log4cxx version is 0.12.1, and only support building method is cmake, so I try to update the example of log4cxx in this repo. When I tried...

Can Close?

./lib/findprog-in.c:137:25: error: implicit declaration of function 'eaccess' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eaccess (progpathname, X_OK) == 0) ^ ./lib/findprog-in.c:137:25: note: did you mean 'access'? /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:431:6: note: 'access' declared here...

help wanted

This is a regression when using `rules_foreign_cc` with Bazel v5.0.0 (which for some reason uses `lld` in the generate step), and it works fine with Bazel v4.2.2 (which uses `ld.gold`...

Can Close?

because rules_foreign_cc relies on a build_script.sh to wrap all the linker commands to building binaries, any path that is added as a linker argument with $ORIGIN in the rpath will...

bug
good first issue

https://blog.bazel.build/2019/05/07/builds-without-bytes.html#how-to-use-it Building GRPC against openssl with --experimental_remote_download_outputs=minimal set results in a compiler error in which the .h openssl libraries are not found. https://chromium.googlesource.com/external/github.com/grpc/grpc/+/refs/heads/master/BUILD#6398 Setting @openssl//:ssl in this target to the...