File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 44
44
echo " *** ${project} build succeeded. Packaging..."
45
45
46
46
if [ -d " $outputdir " ]; then
47
- # Remove these, which are getting incorrectly bundled
48
- # See https://github.com/Webreaper/Damselfly/issues/546
49
- rm onnxruntime_providers* .dll
50
-
51
47
echo " *** Contents of ${outputdir} :"
52
48
53
49
ls -l $outputdir
@@ -56,7 +52,18 @@ if [ -d "$outputdir" ]; then
56
52
mkdir $serverdist
57
53
58
54
cd $outputdir
55
+
56
+ # Hack to get the libcvextern.so into the linux build.
57
+ case $PLATFORM in
58
+ linux | max | m1)
59
+ # Remove these, which are getting incorrectly bundled
60
+ # See https://github.com/Webreaper/Damselfly/issues/546
61
+ echo " Removing invalid windows ONNX provider DLLs..."
62
+ rm -v ${outputdir} /onnxruntime_providers* .dll
63
+ esac
64
+
59
65
zip $zipname . -rx " *.pdb"
66
+
60
67
echo " *** Build complete."
61
68
else
62
69
echo " *** ERROR: Output folder ${outputdir} did not exist."
You can’t perform that action at this time.
0 commit comments