Skip to content

Commit

Permalink
⬆️ Update LLVM commit to 75632fe (#148)
Browse files Browse the repository at this point in the history
The patch for the linker wrapper and offload packager has been
upstreamed.
  • Loading branch information
aaronmondal authored May 23, 2023
1 parent aec847b commit e7d97d8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 78 deletions.
5 changes: 2 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ llvm_project_overlay = use_extension(
"llvm_project_overlay",
)
llvm_project_overlay.configure(
commit = "4ef1393e1b35049f0d35b0b74dbffeaa104288f0",
sha256 = "756af75d3a3b02033e8979d19b9a94c9bda55e3178fa202aea823f2caf6112b0",
commit = "75632fec58b83a19cf4dc818931f452cff708822",
sha256 = "e877d866c9b3206944cdb56ea9c052a372e6a6ef93cf1f67b1cc2d97ee4d2cd9",
targets = ["AMDGPU", "NVPTX", "X86", "WebAssembly"],
patches = [
"@rules_ll//patches:back_inserter_patch.diff",
"@rules_ll//patches:compiler-rt_float128_patch.diff",
"@rules_ll//patches:mallinfo2_patch.diff",
"@rules_ll//patches:rules_ll_overlay_patch.diff",
"@rules_ll//patches:clang_new_offload_driver.diff",
"@rules_ll//patches:std_modules_tuple_fix.diff",
],
)
Expand Down
4 changes: 4 additions & 0 deletions llvm-project-overlay/libcxx/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@ ll_library(
"-fvisibility-inlines-hidden",
"-Wno-user-defined-literals",
"-Wno-reserved-module-identifier",

# TODO: Remove this after resolve of
# https://github.com/llvm/llvm-project/issues/62844
"-Wno-deprecated-declarations",
],
defines = [
"_LIBCPP_BUILDING_LIBRARY",
Expand Down
73 changes: 0 additions & 73 deletions patches/clang_new_offload_driver.diff

This file was deleted.

8 changes: 6 additions & 2 deletions patches/rules_ll_overlay_patch.diff
Original file line number Diff line number Diff line change
Expand Up @@ -1272,10 +1272,10 @@ index 000000000000..8ad56ad46df6
+)
diff --git a/utils/bazel/llvm-project-overlay/libcxx/BUILD.bazel b/utils/bazel/llvm-project-overlay/libcxx/BUILD.bazel
new file mode 100644
index 000000000000..9b72daf50b6e
index 000000000000..9afcc34a766f
--- /dev/null
+++ b/utils/bazel/llvm-project-overlay/libcxx/BUILD.bazel
@@ -0,0 +1,305 @@
@@ -0,0 +1,309 @@
+load("@rules_ll//ll:defs.bzl", "ll_library")
+load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
+
Expand Down Expand Up @@ -1547,6 +1547,10 @@ index 000000000000..9b72daf50b6e
+ "-fvisibility-inlines-hidden",
+ "-Wno-user-defined-literals",
+ "-Wno-reserved-module-identifier",
+
+ # TODO: Remove this after resolve of
+ # https://github.com/llvm/llvm-project/issues/62844
+ "-Wno-deprecated-declarations",
+ ],
+ defines = [
+ "_LIBCPP_BUILDING_LIBRARY",
Expand Down

0 comments on commit e7d97d8

Please sign in to comment.