Skip to content

Commit a65753c

Browse files
authored
Start to switch from onnxruntime 1.17.1 to v1.23.2 (#2993)
1 parent 717753a commit a65753c

11 files changed

Lines changed: 100 additions & 62 deletions

.github/workflows/linux.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,30 @@ jobs:
9797
run: |
9898
uname -a
9999
gcc --version
100+
101+
# use gcc 11. the default is gcc 10
102+
103+
# See https://github.com/nealef/clefos/issues/9
104+
echo "multilib_policy=best" >> /etc/yum.conf
105+
echo "skip_missing_names_on_install=False" >> /etc/yum.conf
106+
sed -i '/^override_install_langs=/d' /etc/yum.conf
107+
yum -y update
108+
yum -y install yum-utils curl
109+
yum-config-manager --enable extras
110+
yum -y install centos-release-scl-rh
111+
yum -y install devtoolset-11-binutils devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortran
112+
113+
# see https://stackoverflow.com/questions/72904802/can-not-find-required-gcc-version-after-devtoolset-installation
114+
ls -lh /opt/rh/devtoolset-11
115+
116+
source /opt/rh/devtoolset-11/enable
117+
118+
echo 'which gcc'
119+
which gcc
120+
121+
echo 'gcc --version'
122+
gcc --version
123+
100124
cmake --version
101125
cat /etc/*release
102126
id

.github/workflows/macos.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,15 @@ concurrency:
5757
jobs:
5858
macos:
5959
runs-on: ${{ matrix.os }}
60-
name: ${{ matrix.build_type }} ${{ matrix.lib_type }} tts-${{ matrix.with_tts }}
60+
name: ${{ matrix.build_type }} ${{ matrix.lib_type }} tts-${{ matrix.with_tts }} ${{ matrix.os }} ${{ matrix.arch }}
6161
strategy:
6262
fail-fast: false
6363
matrix:
6464
os: [macos-latest]
6565
build_type: [Release, Debug]
6666
lib_type: [static, shared]
6767
with_tts: [ON, OFF]
68+
arch: ["arm64;x86_64"]
6869

6970
steps:
7071
- uses: actions/checkout@v4
@@ -98,11 +99,13 @@ jobs:
9899
BUILD_SHARED_LIBS=ON
99100
fi
100101
102+
arch="${{ matrix.arch }}"
103+
101104
cmake \
102105
-DSHERPA_ONNX_ENABLE_TTS=${{ matrix.with_tts }} \
103106
-D BUILD_SHARED_LIBS=$BUILD_SHARED_LIBS \
104107
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }} \
105-
-D CMAKE_OSX_ARCHITECTURES='arm64;x86_64' \
108+
-D CMAKE_OSX_ARCHITECTURES="$arch" \
106109
-D CMAKE_INSTALL_PREFIX=./install \
107110
..
108111

cmake/onnxruntime-linux-x86_64-static.cmake

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

17-
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip")
18-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip")
19-
set(onnxruntime_HASH "SHA256=b646beeb983de843a267096d4457d832f93089f5e7264fd54b48cff207cb2068")
17+
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip")
18+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip")
19+
set(onnxruntime_HASH "SHA256=93a52b9d93a0932259a03090291be861ba21ad4b1b58057d3a0f57a4c4108671")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
set(possible_file_locations
25-
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
26-
${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
27-
${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
28-
/tmp/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
29-
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.17.1-glibc2_17.zip
25+
$ENV{HOME}/Downloads/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip
26+
${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip
27+
${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip
28+
/tmp/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip
29+
/star-fj/fangjun/download/github/onnxruntime-linux-x64-static_lib-1.23.2-glibc2_17.zip
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-linux-x86_64.cmake

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ if(NOT BUILD_SHARED_LIBS)
1414
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1515
endif()
1616

17-
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip")
18-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip")
19-
set(onnxruntime_HASH "SHA256=cb90c51a195bdd453aaf1582f3ef63b466dafbb15c4b8a552ca4dce3769e1d1e")
17+
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip")
18+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip")
19+
set(onnxruntime_HASH "SHA256=77ea3532dfdd8d5c66918429f7eacd80c1fea834941a14746adf3109f8e7b830")
2020

2121
# If you don't have access to the Internet,
2222
# please download onnxruntime to one of the following locations.
2323
# You can add more if you want.
2424
set(possible_file_locations
25-
$ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
26-
${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
27-
${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
28-
/tmp/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
29-
/star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.17.1-patched.zip
25+
$ENV{HOME}/Downloads/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip
26+
${CMAKE_SOURCE_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip
27+
${CMAKE_BINARY_DIR}/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip
28+
/tmp/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip
29+
/star-fj/fangjun/download/github/onnxruntime-linux-x64-glibc2_17-Release-1.23.2.zip
3030
)
3131

3232
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-arm64-static.cmake

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

15-
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-arm64-static_lib-1.17.1.zip")
16-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-static_lib-1.17.1.zip")
17-
set(onnxruntime_HASH "SHA256=b88a4017251c159fea005aefe836bd0cf4d0bc7454e2810784f84a42143f17eb")
15+
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2/onnxruntime-osx-arm64-static_lib-1.23.2.zip")
16+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-arm64-static_lib-1.23.2.zip")
17+
set(onnxruntime_HASH "SHA256=febeb7116f075409c554434a317cd51a2efb26abbf364c2ed77191f728a56633")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
set(possible_file_locations
23-
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.17.1.zip
24-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip
25-
${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.17.1.zip
26-
/tmp/onnxruntime-osx-arm64-static_lib-1.17.1.zip
23+
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-static_lib-1.23.2.zip
24+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-static_lib-1.23.2.zip
25+
${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-static_lib-1.23.2.zip
26+
/tmp/onnxruntime-osx-arm64-static_lib-1.23.2.zip
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)
@@ -59,3 +59,6 @@ set(onnxruntime_lib_files ${onnxruntime_lib_files} PARENT_SCOPE)
5959

6060
message(STATUS "onnxruntime lib files: ${onnxruntime_lib_files}")
6161
install(FILES ${onnxruntime_lib_files} DESTINATION lib)
62+
63+
# disable coreml when using static onnxruntime lib
64+
add_definitions(-DSHERPA_ONNX_DISABLE_COREML)

cmake/onnxruntime-osx-arm64.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

15-
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-arm64-1.17.1.tgz")
16-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-arm64-1.17.1.tgz")
17-
set(onnxruntime_HASH "SHA256=89566f424624a7ad9a7d9d5e413c44b9639a994d7171cf409901d125b16e2bb3")
15+
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.23.2/onnxruntime-osx-arm64-1.23.2.tgz")
16+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-arm64-1.23.2.tgz")
17+
set(onnxruntime_HASH "SHA256=b4d513ab2b26f088c66891dbbc1408166708773d7cc4163de7bdca0e9bbb7856")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
set(possible_file_locations
23-
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.17.1.tgz
24-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.17.1.tgz
25-
${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.17.1.tgz
26-
/tmp/onnxruntime-osx-arm64-1.17.1.tgz
23+
$ENV{HOME}/Downloads/onnxruntime-osx-arm64-1.23.2.tgz
24+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-arm64-1.23.2.tgz
25+
${CMAKE_BINARY_DIR}/onnxruntime-osx-arm64-1.23.2.tgz
26+
/tmp/onnxruntime-osx-arm64-1.23.2.tgz
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-universal-static.cmake

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ if(BUILD_SHARED_LIBS)
1313
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1414
endif()
1515

16-
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-universal2-static_lib-1.17.1.zip")
17-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-static_lib-1.17.1.zip")
18-
set(onnxruntime_HASH "SHA256=45599dbd2fb9dd52d6505930c0e82ca165391e222a68f5606b9ea9d4f3922e15")
16+
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2/onnxruntime-osx-universal2-static_lib-1.23.2.zip")
17+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-universal2-static_lib-1.23.2.zip")
18+
set(onnxruntime_HASH "SHA256=00816fda16166859fed41dacb786d3dfc3323bbc1a8fa57a235922f597953986")
1919

2020
# If you don't have access to the Internet,
2121
# please download onnxruntime to one of the following locations.
2222
# You can add more if you want.
2323
set(possible_file_locations
24-
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.17.1.zip
25-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip
26-
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.17.1.zip
27-
/tmp/onnxruntime-osx-universal2-static_lib-1.17.1.zip
24+
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-static_lib-1.23.2.zip
25+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-static_lib-1.23.2.zip
26+
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-static_lib-1.23.2.zip
27+
/tmp/onnxruntime-osx-universal2-static_lib-1.23.2.zip
2828
)
2929

3030
foreach(f IN LISTS possible_file_locations)
@@ -60,3 +60,6 @@ set(onnxruntime_lib_files ${onnxruntime_lib_files} PARENT_SCOPE)
6060

6161
message(STATUS "onnxruntime lib files: ${onnxruntime_lib_files}")
6262
install(FILES ${onnxruntime_lib_files} DESTINATION lib)
63+
64+
# disable coreml when using static onnxruntime lib
65+
add_definitions(-DSHERPA_ONNX_DISABLE_COREML)

cmake/onnxruntime-osx-universal.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ if(NOT BUILD_SHARED_LIBS)
1313
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1414
endif()
1515

16-
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-universal2-1.17.1.tgz")
17-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-universal2-1.17.1.tgz")
18-
set(onnxruntime_HASH "SHA256=9fa57fa6f202a373599377ef75064ae568fda8da838632b26a86024c7378d306")
16+
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.23.2/onnxruntime-osx-universal2-1.23.2.tgz")
17+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-universal2-1.23.2.tgz")
18+
set(onnxruntime_HASH "SHA256=49ae8e3a66ccb18d98ad3fe7f5906b6d7887df8a5edd40f49eb2b14e20885809")
1919

2020
# If you don't have access to the Internet,
2121
# please download onnxruntime to one of the following locations.
2222
# You can add more if you want.
2323
set(possible_file_locations
24-
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.17.1.tgz
25-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.17.1.tgz
26-
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.17.1.tgz
27-
/tmp/onnxruntime-osx-universal2-1.17.1.tgz
24+
$ENV{HOME}/Downloads/onnxruntime-osx-universal2-1.23.2.tgz
25+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-universal2-1.23.2.tgz
26+
${CMAKE_BINARY_DIR}/onnxruntime-osx-universal2-1.23.2.tgz
27+
/tmp/onnxruntime-osx-universal2-1.23.2.tgz
2828
)
2929

3030
foreach(f IN LISTS possible_file_locations)

cmake/onnxruntime-osx-x86_64-static.cmake

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building static libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

15-
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.17.1/onnxruntime-osx-x86_64-static_lib-1.17.1.zip")
16-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-static_lib-1.17.1.zip")
17-
set(onnxruntime_HASH "SHA256=5ff8efb97e50e257943c6c588328d2c57b649278098d3b468036f02755b60903")
15+
set(onnxruntime_URL "https://github.com/csukuangfj/onnxruntime-libs/releases/download/v1.23.2/onnxruntime-osx-x86_64-static_lib-1.23.2.zip")
16+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-x86_64-static_lib-1.23.2.zip")
17+
set(onnxruntime_HASH "SHA256=dc632688d5b48e478742ba1ae2d9ebc78ab6cee18fa6eb61e2fb03b8a80d1b66")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
set(possible_file_locations
23-
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
24-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
25-
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
26-
/tmp/onnxruntime-osx-x86_64-static_lib-1.17.1.zip
23+
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-static_lib-1.23.2.zip
24+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-static_lib-1.23.2.zip
25+
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-static_lib-1.23.2.zip
26+
/tmp/onnxruntime-osx-x86_64-static_lib-1.23.2.zip
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)
@@ -59,3 +59,6 @@ set(onnxruntime_lib_files ${onnxruntime_lib_files} PARENT_SCOPE)
5959

6060
message(STATUS "onnxruntime lib files: ${onnxruntime_lib_files}")
6161
install(FILES ${onnxruntime_lib_files} DESTINATION lib)
62+
63+
# disable coreml when using static onnxruntime lib
64+
add_definitions(-DSHERPA_ONNX_DISABLE_COREML)

cmake/onnxruntime-osx-x86_64.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ if(NOT BUILD_SHARED_LIBS)
1212
message(FATAL_ERROR "This file is for building shared libraries. BUILD_SHARED_LIBS: ${BUILD_SHARED_LIBS}")
1313
endif()
1414

15-
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.17.1/onnxruntime-osx-x86_64-1.17.1.tgz")
16-
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/onnxruntime-osx-x86_64-1.17.1.tgz")
17-
set(onnxruntime_HASH "SHA256=86c6b6896434084ff5086eebc4e9ea90be1ed4d46743f92864f46ee43e7b5059")
15+
set(onnxruntime_URL "https://github.com/microsoft/onnxruntime/releases/download/v1.23.2/onnxruntime-osx-x86_64-1.23.2.tgz")
16+
set(onnxruntime_URL2 "https://hf-mirror.com/csukuangfj/onnxruntime-libs/resolve/main/1.23.2/onnxruntime-osx-x86_64-1.23.2.tgz")
17+
set(onnxruntime_HASH "SHA256=d10359e16347b57d9959f7e80a225a5b4a66ed7d7e007274a15cae86836485a6")
1818

1919
# If you don't have access to the Internet,
2020
# please download onnxruntime to one of the following locations.
2121
# You can add more if you want.
2222
set(possible_file_locations
23-
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.17.1.tgz
24-
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz
25-
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.17.1.tgz
26-
/tmp/onnxruntime-osx-x86_64-1.17.1.tgz
23+
$ENV{HOME}/Downloads/onnxruntime-osx-x86_64-1.23.2.tgz
24+
${CMAKE_SOURCE_DIR}/onnxruntime-osx-x86_64-1.23.2.tgz
25+
${CMAKE_BINARY_DIR}/onnxruntime-osx-x86_64-1.23.2.tgz
26+
/tmp/onnxruntime-osx-x86_64-1.23.2.tgz
2727
)
2828

2929
foreach(f IN LISTS possible_file_locations)

0 commit comments

Comments
 (0)