vere
vere copied to clipboard
dynamically linked build
The old build system dynamically linked debug builds by default. We can't currently easily do this with bazel.
I would like the ability to specify desired linking type when building because a dynamically linked build is far more flexible a thing in the development cycle -- primarily because of what's possible with LD_PRELOAD -- load a profiler, load an alternative implementation of a library (e.g. malloc) and compare its results to previous, etc.
I imagine this will require making the arg to the linkstatic
params in many of our cc_library
s configurable rather than statically True
. Need to also understand instances of:
features = select({
"@platforms//os:linux": ["fully_static_link"],
"//conditions:default": [],
}),
It may be easier to avoid bazel altogether and just adopt the old Makefile vere used to the new repo structure
I have a CMake configuration almost working...