bedbad

Results 20 comments of bedbad

Here's background on bazelizing Qt. The bazel integrating Qt given you input the paths to .so libraries and headers already works, Credit to Ben Breslauer and Justin Buchanan https://github.com/justbuchanan/bazel_rules_qt I...

@jheaff1 I couldn't find Meson as the Qt6 proper(qtbase..) build dependency. It's a build system which parallels the task of foreign_rules_cc, maybe the issue here that dependencies are confused, I.e...

@eli-schwartz as a Meson developer you're of coarse biased towards it, however, it should not compete with build system like bazel. If there would ever be a full build of...

> It's not a dependency for Qt6, it's a dependency of a dependency of Qt6 That's the point that it's impossible, dependency here mtransitive. dependency in the dep =[] sense,...

@jheaff1 I was able to get through that by bisecting cmake libarchive [changes](https://github.com/Kitware/CMake/blob/master/Utilities/cmlibarchive/libarchive/archive_write_set_format_raw.c) and specifying cmake_version = 3.16.5 from the [version list](https://cmake.org/files/v3.16/cmake-3.16.5-SHA-256.txt) Note, for older cmake versions the flavor for...

@jheaff1 there are already workarounds for it encoded in two places in rules_foreing_cc: https://github.com/bazelbuild/rules_foreign_cc/blob/0dafcb29a8ce9c3b49a211ebba6c9c0f79eb93d6/foreign_cc/built_tools/make_build.bzl#L71 https://github.com/bazelbuild/rules_foreign_cc/blob/33bce66655fa5433c655315824c815e8b6a574d6/foreign_cc/private/cmake_script.bzl#L286 And that doesn't work for Qt for instance because of this(what causes that concrete error...

That's good, can you share your build?

> @bedbad I think your libtool issue seems to happen a lot when using rules_foreign_cc. > > The examples in this repo workaround it but clearing the AR variable This...

Specifying AR proper for CMAKE_AR passes it a couple build steps further (and breaks hermeticity): ` "CMAKE_AR" : "/usr/bin/ar",` ``` [ 33%] Linking CXX executable ../../../libexec/rcc ld: archive has no...