File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ install_pytorch_and_domains() {
107107 TORCHVISION_VERSION=$( cat .github/ci_commit_pins/vision.txt)
108108 export TORCHVISION_VERSION
109109
110- install_domains
110+ # install_domains
111111
112112 popd || return
113113 # Print sccache stats for debugging
Original file line number Diff line number Diff line change @@ -877,6 +877,11 @@ if(EXECUTORCH_BUILD_PYBIND)
877877 portable_lib PROPERTIES BUILD_RPATH "@loader_path/../../../torch/lib"
878878 INSTALL_RPATH "@loader_path/../../../torch/lib"
879879 )
880+ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"
881+ and CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "16.0"
882+ )
883+ target_link_options (portable_lib PRIVATE -Wl,-ldclassic)
884+ endif ()
880885 else ()
881886 set_target_properties (
882887 portable_lib PROPERTIES BUILD_RPATH "$ORIGIN/../../../torch/lib"
You can’t perform that action at this time.
0 commit comments