Skip to content

Commit 888a514

Browse files
authored
Merge pull request #233822 from Homebrew/onnxruntime-args
onnxruntime: update unused CMake args
2 parents 041442e + 410fff0 commit 888a514

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Formula/o/onnxruntime.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class Onnxruntime < Formula
3131
depends_on "[email protected]" => :build
3232
depends_on "safeint" => :build
3333
depends_on "abseil"
34-
depends_on "nsync"
3534
depends_on "onnx"
3635
depends_on "protobuf"
3736
depends_on "re2"
@@ -71,9 +70,8 @@ def install
7170
args = %W[
7271
-DHOMEBREW_ALLOW_FETCHCONTENT=ON
7372
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
74-
-DFETCHCONTENT_SOURCE_DIR_PYTORCH_CLOG=#{buildpath}/build/_deps/pytorch_cpuinfo-src
7573
-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
76-
-DPYTHON_EXECUTABLE=#{python3}
74+
-DPython_EXECUTABLE=#{python3}
7775
-DONNX_CUSTOM_PROTOC_EXECUTABLE=#{Formula["protobuf"].opt_bin}/protoc
7876
-Donnxruntime_BUILD_SHARED_LIB=ON
7977
-Donnxruntime_BUILD_UNIT_TESTS=OFF

0 commit comments

Comments
 (0)