Skip to content

tbb: missing required file #5099

Answered by torbjok
sh2sg asked this question in Casks
Jan 31, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

This worked for me:

diff --git a/Formula/t/tbb.rb b/Formula/t/tbb.rb
index a5c4e12a28d..fa994c0fa14 100644
--- a/Formula/t/tbb.rb
+++ b/Formula/t/tbb.rb
@@ -48,12 +48,14 @@ class Tbb < Formula
     system "cmake", "-S", ".", "-B", "build/shared",
                     "-DBUILD_SHARED_LIBS=ON",
                     "-DCMAKE_INSTALL_RPATH=#{rpath}",
+                    "-DPYTHON_EXECUTABLE=#{Formula["[email protected]"].bin}/python3.12",
                     *args, *std_cmake_args
     system "cmake", "--build", "build/shared"
     system "cmake", "--install", "build/shared"

     system "cmake", "-S", ".", "-B", "build/static",
                     "-DBUILD_SHARED_LIBS=OFF",
+                   …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sh2sg
Comment options

@dumpty-0-humpty
Comment options

@sh2sg
Comment options

@dumpty-0-humpty
Comment options

Answer selected by sh2sg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Casks
Labels
None yet
3 participants