Skip to content

Commit

Permalink
Make Ray work on GH200 (#40816)
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Moritz <[email protected]>
  • Loading branch information
pcmoritz authored Nov 17, 2023
1 parent 5df518a commit 0e2a523
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bazel/BUILD.jemalloc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ configure_make(
copts = ["-fPIC"],
args = ["-j"],
out_shared_libs = ["libjemalloc.so"],
configure_options = ["--disable-static", "--enable-prof"],
# See https://salsa.debian.org/debian/jemalloc/-/blob/c0a88c37a551be7d12e4863435365c9a6a51525f/debian/rules#L8-23
# for why we are setting "--with-lg-page" on non x86 hardware here.
configure_options = ["--disable-static", "--enable-prof"] +
select({
"@platforms//cpu:x86_64": [],
"//conditions:default": ["--with-lg-page=16"],
}),
visibility = ["//visibility:public"],
)

Expand Down

0 comments on commit 0e2a523

Please sign in to comment.