File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packaging/debian_3rdparty Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ OS=$(uname -s)
2727if [ " $OS " = " Darwin" ]; then
2828 DIR_OS=" MacOS"
2929 CMAKE_EXTRA_DEFINES+=' CMAKE_OSX_ARCHITECTURES="arm64"'
30- SUFFIX=" ${LIBONNXRUNTIME_VERSION} .dylib"
30+ SUFFIX=" ${LIBONNXRUNTIME_VERSION} .dylib* "
3131else
3232 DIR_OS=" Linux"
33- SUFFIX=" so. ${LIBONNXRUNTIME_VERSION} "
33+ SUFFIX=" so* "
3434fi
3535
3636CONFIG=" Release"
@@ -49,7 +49,8 @@ mkdir -p "${PREFIX}"/lib/pkgconfig/
4949mkdir -p " ${PREFIX} " /include/onnxruntime/
5050
5151cp build/$DIR_OS /$CONFIG /libonnxruntime.pc ${PREFIX} /lib/pkgconfig/
52- cp build/$DIR_OS /$CONFIG /libonnxruntime.$SUFFIX ${PREFIX} /lib/
52+ cp -r build/$DIR_OS /$CONFIG /libonnxruntime.$SUFFIX ${PREFIX} /lib/
53+
5354cp include/onnxruntime/core/session/onnxruntime_cxx_inline.h ${PREFIX} /include/onnxruntime/
5455cp include/onnxruntime/core/session/onnxruntime_float16.h ${PREFIX} /include/onnxruntime/
5556cp include/onnxruntime/core/session/onnxruntime_c_api.h ${PREFIX} /include/onnxruntime/
You can’t perform that action at this time.
0 commit comments