From ab63b0bba5895b6d7a5c67ff906ca230f539cb1f Mon Sep 17 00:00:00 2001 From: tongke6 <124763920+tongke6@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:13:29 +0800 Subject: [PATCH 1/2] Fix upstream app psi build failures on macos m1 --- MODULE.bazel | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 44d5ae22..169c2292 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -21,6 +21,7 @@ module( name = "yacl", + version = "20241218.0", compatibility_level = 1, ) @@ -73,13 +74,13 @@ new_local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local. new_local_repository( name = "macos_omp_x64", - build_file = "@//bazel:local_openmp_macos.BUILD", + build_file = "@yacl//bazel:local_openmp_macos.BUILD", path = "/usr/local/opt/libomp", ) new_local_repository( name = "macos_omp_arm64", - build_file = "@//bazel:local_openmp_macos.BUILD", + build_file = "@yacl//bazel:local_openmp_macos.BUILD", path = "/opt/homebrew/opt/libomp/", ) From 29f555b1aa012db787ed8f7ff4848d1bbe46e7c3 Mon Sep 17 00:00:00 2001 From: tongke6 <124763920+tongke6@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:30:32 +0800 Subject: [PATCH 2/2] remove version field --- MODULE.bazel | 1 - 1 file changed, 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 169c2292..997f21f5 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -21,7 +21,6 @@ module( name = "yacl", - version = "20241218.0", compatibility_level = 1, )