-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196480 from Homebrew/bump-ispc-1.25.2
ispc 1.25.2
- Loading branch information
Showing
1 changed file
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
class Ispc < Formula | ||
desc "Compiler for SIMD programming on the CPU" | ||
homepage "https://ispc.github.io" | ||
url "https://github.com/ispc/ispc/archive/refs/tags/v1.24.0.tar.gz" | ||
sha256 "a45ec5402d8a3b23d752125a083fa031becf093b8304ccec55b1c2f37b5479c3" | ||
url "https://github.com/ispc/ispc/archive/refs/tags/v1.25.2.tar.gz" | ||
sha256 "745cc8bcde26e63af2700f1811b66d2ca66b2844c8e2aa9ac19c12ab6a39b82a" | ||
license "BSD-3-Clause" | ||
revision 1 | ||
|
||
# Upstream sometimes creates releases that use a stable tag (e.g., `v1.2.3`) | ||
# but are labeled as "pre-release" on GitHub, so it's necessary to use the | ||
|
@@ -15,19 +14,19 @@ class Ispc < Formula | |
end | ||
|
||
bottle do | ||
sha256 cellar: :any, arm64_sequoia: "d650f99ada33e330e23eaac7f517fabef65976ed7ee5b92cfca56e5208f7a2fb" | ||
sha256 cellar: :any, arm64_sonoma: "c7a0754f38ea0957194c08777b6f3e4735e99ab10de1485f4f668ef32ae6e2fc" | ||
sha256 cellar: :any, arm64_ventura: "d490a9505d3fdcff68e78b98208818716f6a5d38982f7a65fd634094c4bd2bda" | ||
sha256 cellar: :any, sonoma: "80a689f14d9c006eb0301b64cccd6a5e7d23c84bce4637ae0c6d29fc66abec2d" | ||
sha256 cellar: :any, ventura: "a23c36580e65097630847b2c9ee3ca2815a5eddda847f3def225fbf4738f832b" | ||
sha256 cellar: :any_skip_relocation, x86_64_linux: "dcd08c7b19eef4617e2c0c7cffa482deb8ad588bb46e2b1bc1852c146b041256" | ||
sha256 cellar: :any, arm64_sequoia: "b0f72091d48f949e719772d717989af9cd169f6f89a890702b0104a02752395c" | ||
sha256 cellar: :any, arm64_sonoma: "c7a09a3f7c4204420de15636a254ddac95d3e43fbddcab1aa6b6c85b250245c5" | ||
sha256 cellar: :any, arm64_ventura: "164b88b15ba40aaa2fa6bf1a48175a0702d07f0f2dd0959f505633d5fd638478" | ||
sha256 cellar: :any, sonoma: "7945def3908530673b9e6e3b20484734613ed5716180c0d080f8142eff99c329" | ||
sha256 cellar: :any, ventura: "2d802a069f6014fbce7666f9ed2bf5fa978c38d4fcd3445fd3ba2b4b4b7de308" | ||
end | ||
|
||
depends_on "bison" => :build | ||
depends_on "cmake" => :build | ||
depends_on "flex" => :build | ||
depends_on "[email protected]" => :build | ||
depends_on "llvm@18" | ||
depends_on "llvm" | ||
|
||
uses_from_macos "python" => :build | ||
|
||
on_linux do | ||
depends_on "tbb" | ||
|
@@ -40,13 +39,6 @@ def llvm | |
end | ||
|
||
def install | ||
# Force cmake to use our compiler shims instead of bypassing them. | ||
inreplace "CMakeLists.txt", "set(CMAKE_C_COMPILER \"clang\")", "set(CMAKE_C_COMPILER \"#{ENV.cc}\")" | ||
inreplace "CMakeLists.txt", "set(CMAKE_CXX_COMPILER \"clang++\")", "set(CMAKE_CXX_COMPILER \"#{ENV.cxx}\")" | ||
|
||
# Disable building of i686 target on Linux, which we do not support. | ||
inreplace "cmake/GenerateBuiltins.cmake", "set(target_arch \"i686\")", "return()" unless OS.mac? | ||
|
||
args = %W[ | ||
-DISPC_INCLUDE_EXAMPLES=OFF | ||
-DISPC_INCLUDE_TESTS=OFF | ||
|