OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Added OV_FORCE_ADHOC_SIGN to force enable adhoc signature if needed (#31164)
Artyom Anokhov81b12888af9c
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txtindex 3a3b31fceed..553b814988b 100644--- a/src/CMakeLists.txt+++ b/src/CMakeLists.txt@@ -12,8 +12,9 @@ if(OV_COMPILER_IS_INTEL_LLVM)ov_disable_deprecated_warnings()endif()-if(APPLE AND AARCH64)- # Disable automatic adhoc sign+# Disable adhoc codesign on Apple AARCH64 by default for internal builds.+# For community distribution channels (e.g. conda, brew), enable it via -DOV_FORCE_ADHOC_SIGN=ON.+if(APPLE AND AARCH64 AND NOT OV_FORCE_ADHOC_SIGN)set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-no_adhoc_codesign")endif()