Skip to content

Commit

Permalink
Update min supported macOS version to 10.14
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Aug 31, 2021
1 parent 70ca03d commit a9a0d3f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1102,9 +1102,6 @@ function(onnxruntime_set_compile_flags target_name)
endif()

target_compile_definitions(${target_name} PUBLIC -DNSYNC_ATOMIC_CPP11)
if(APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "iOSCross" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "iOS")
target_compile_definitions(${target_name} PUBLIC -Doptional_CONFIG_SELECT_OPTIONAL=optional_OPTIONAL_NONSTD)
endif()
target_include_directories(${target_name} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/external/nsync/public")
endif()
foreach(ORT_FLAG ${ORT_PROVIDER_FLAGS})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
pool:
vmImage: 'macOS-10.15'
variables:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
timeoutInMinutes: 120
steps:
- script: brew install coreutils ninja
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
pool:
vmImage: 'macOS-10.15'
variables:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
timeoutInMinutes: 120
steps:
- script: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
workspace:
clean: all
variables:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
pool:
vmImage: 'macOS-10.15'
timeoutInMinutes: 120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
workspace:
clean: all
variables:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
pool:
vmImage: 'macOS-10.15'
timeoutInMinutes: 120
Expand Down
2 changes: 1 addition & 1 deletion tools/ci_build/github/azure-pipelines/templates/mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
variables:
BuildCommand: ${{ parameters.BuildCommand }}
ALLOW_RELEASED_ONNX_OPSET_ONLY: ${{ parameters.AllowReleasedOpsetOnly }}
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
steps:
- checkout: self
${{ if ne(parameters.SubmoduleCheckoutMode, '') }}:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ stages:
pool:
vmImage: 'macOS-10.15'
variables:
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: '10.14'
strategy:
matrix:
Python36:
Expand Down

0 comments on commit a9a0d3f

Please sign in to comment.