From ccdcc0aacc961e6c77eeaacf1b20e5be64f7896e Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Fri, 18 Feb 2022 22:38:48 -0500 Subject: [PATCH] blockhash: use python3 --- Formula/blockhash.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Formula/blockhash.rb b/Formula/blockhash.rb index 2fd894887ee62..45ba33f946bf0 100644 --- a/Formula/blockhash.rb +++ b/Formula/blockhash.rb @@ -25,14 +25,12 @@ class Blockhash < Formula end def install - ENV.prepend_path "PATH", Formula["python@3.10"].opt_bin - - system "./waf", "configure", "--prefix=#{prefix}" + system "python3", "./waf", "configure", "--prefix=#{prefix}" # pkg-config adds -fopenmp flag during configuring # This fails the build on system clang, and OpenMP is not used in blockhash inreplace "build/c4che/_cache.py", "-fopenmp", "" - system "./waf" - system "./waf", "install" + system "python3", "./waf" + system "python3", "./waf", "install" end test do