Skip to content

Commit 19aa1c8

Browse files
authored
Merge pull request Homebrew#251892 from Homebrew/bump-nsync-1.30.0
nsync 1.30.0
2 parents 09da271 + 8f51df4 commit 19aa1c8

File tree

1 file changed

+8
-30
lines changed

1 file changed

+8
-30
lines changed

Formula/n/nsync.rb

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,26 @@
11
class Nsync < Formula
22
desc "C library that exports various synchronization primitives"
33
homepage "https://github.com/google/nsync"
4-
url "https://github.com/google/nsync/archive/refs/tags/1.29.2.tar.gz"
5-
sha256 "1d63e967973733d2c97e841e3c05fac4d3fa299f01d14c86f2695594c7a4a2ec"
4+
url "https://github.com/google/nsync/archive/refs/tags/1.30.0.tar.gz"
5+
sha256 "883a0b3f8ffc1950670425df3453c127c1a3f6ed997719ca1bbe7f474235b6cc"
66
license "Apache-2.0"
7-
revision 1
87

98
bottle do
10-
sha256 cellar: :any, arm64_tahoe: "2fdf47744fa4557e3c6caafb8688671775c4947ff5748365952b8b66ef817e49"
11-
sha256 cellar: :any, arm64_sequoia: "5646e78dfc90e6ea7a9575f5b51ccb91e142838e61170087a5ea89dd7076d1fd"
12-
sha256 cellar: :any, arm64_sonoma: "fdcf50215956176ee21750ef95dea641a5464aa2c474e024d63c8032ddc99da1"
13-
sha256 cellar: :any, arm64_ventura: "163b4942545d21ed0042db6343b07b7ceb810010cd513a77d2f2d8060ace3b9a"
14-
sha256 cellar: :any, sonoma: "03ffb1919593d89b4ce5e8bd58b540ebce76dedbfea579f06dfd3a1578af6120"
15-
sha256 cellar: :any, ventura: "d8573c05ff6039c4074be9a4bb3119200ce4904e8f55b3747b50c2d9c08cb10f"
16-
sha256 cellar: :any_skip_relocation, arm64_linux: "e7685d7883604fa8746a3e28034b2ac85632a807d575f0ae5e32173b0c96bc93"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "371b938f9cc2b55990b934c679a18967d749bf7a82783dce7ac49585fedb0379"
9+
sha256 cellar: :any, arm64_tahoe: "34b5f37ee36a14b1e76e5052c2f593544e39d45acd8d7d7e0d90600226072802"
10+
sha256 cellar: :any, arm64_sequoia: "33fec4c6c42fbb8b09c8d3d0243f3730add7887e902d5bdb1608ed733843a75e"
11+
sha256 cellar: :any, arm64_sonoma: "b347b136ba54882d203e7d0989e94347b9fb738feaa6c0059fa9bec7070fde0c"
12+
sha256 cellar: :any, sonoma: "78b2f4271d03da7e849c0446837d338aceb66903a53bd9e89d8aeb559dda6f0d"
13+
sha256 cellar: :any_skip_relocation, arm64_linux: "2f3bd67fa9e140561b815dcf454a09ee5950ca419fb5b5a49752558dc904be8a"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "70bf2bc57ecea6d5c4acc02275f360a67fc86ea714c2a76ebbbff1509453ef6f"
1815
end
1916

2017
depends_on "cmake" => :build
2118

22-
# PR ref: https://github.com/google/nsync/pull/24
23-
patch :DATA
24-
2519
def install
2620
args = %w[
2721
-DBUILD_SHARED_LIBS=ON
2822
-DNSYNC_ENABLE_TESTS=OFF
2923
]
30-
# Workaround for CMake 4 compatibility
31-
args << "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
3224
system "cmake", "-S", ".", "-B", "_build", *args, *std_cmake_args
3325
system "cmake", "--build", "_build"
3426
system "cmake", "--install", "_build"
@@ -52,17 +44,3 @@ def install
5244
system "./test"
5345
end
5446
end
55-
56-
__END__
57-
diff --git a/CMakeLists.txt b/CMakeLists.txt
58-
index fcc3f41..9dbe677 100644
59-
--- a/CMakeLists.txt
60-
+++ b/CMakeLists.txt
61-
@@ -125,7 +125,6 @@ elseif ("${CMAKE_SYSTEM_NAME}X" STREQUAL "DarwinX")
62-
${NSYNC_OS_CPP_SRC}
63-
"platform/c++11/src/nsync_semaphore_mutex.cc"
64-
"platform/posix/src/clock_gettime.c"
65-
- "platform/posix/src/nsync_semaphore_mutex.c"
66-
)
67-
elseif ("${CMAKE_SYSTEM_NAME}X" STREQUAL "LinuxX")
68-
set (NSYNC_POSIX ON)

0 commit comments

Comments
 (0)