You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using the bazel build (bazel/glog.bzl).
It contains 2 genrules that generate some of the header files.
In addition, it has a build rule (native.cc_library) that compiles the source (using the generated header files) with -D flags. These flags are fixed in the rule and not derived from the system (like with the cmake build or autogen/configure/make.
Amongst others, -DHAVE_UNISTD_H is not defined. This results in symlinks not being created.
For our local build, I have now overridden the bazel build file and added a few flags that are appropriate to our environment manually, which is only a workaround for our local context:
"-DHAVE_UNISTD_H",
"-DHAVE_PWD_H",
"-DHAVE_SYSLOG_H",
"-DHAVE_PWRITE",
"-DHAVE_FCNTL",
I assume google's internal version uses blaze (?) and might have solved this?
The text was updated successfully, but these errors were encountered:
We're using the bazel build (bazel/glog.bzl).
It contains 2 genrules that generate some of the header files.
In addition, it has a build rule (native.cc_library) that compiles the source (using the generated header files) with -D flags. These flags are fixed in the rule and not derived from the system (like with the cmake build or autogen/configure/make.
Amongst others, -DHAVE_UNISTD_H is not defined. This results in symlinks not being created.
For our local build, I have now overridden the bazel build file and added a few flags that are appropriate to our environment manually, which is only a workaround for our local context:
"-DHAVE_UNISTD_H",
"-DHAVE_PWD_H",
"-DHAVE_SYSLOG_H",
"-DHAVE_PWRITE",
"-DHAVE_FCNTL",
I assume google's internal version uses blaze (?) and might have solved this?
The text was updated successfully, but these errors were encountered: