Skip to content

Commit 164df8d

Browse files
andreas-abelcopybara-github
authored andcommitted
Fix libnuma config when switching compilers
PiperOrigin-RevId: 790820686 Change-Id: I595908f963146ef0d9d8966abe4ab82c4f5c4dea
1 parent 3a35f46 commit 164df8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MODULE.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ http_archive(
140140
patch_cmds = [
141141
"./autogen.sh",
142142
"./configure",
143+
# clang does not support the symver attribute
144+
"sed -i -e 's/\\(#define HAVE_ATTRIBUTE_SYMVER 1\\)/#ifndef __clang__\\n\\1\\n#endif/' config.h",
143145
],
144146
sha256 = "c7aebfc925f2c3827e3cb607092065f3a48986a16aea1bb10ca70937edac278b",
145147
strip_prefix = "numactl-2.0.19",

0 commit comments

Comments
 (0)