mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
fix compile on mac
This commit is contained in:
@@ -21,6 +21,8 @@ import sys
|
|||||||
|
|
||||||
|
|
||||||
def process_paddle_inference(paddle_inference_so_file):
|
def process_paddle_inference(paddle_inference_so_file):
|
||||||
|
if platform.system().lower() != "linux":
|
||||||
|
return
|
||||||
rpaths = [
|
rpaths = [
|
||||||
"$ORIGIN", "$ORIGIN/../../third_party/install/mkldnn/lib/",
|
"$ORIGIN", "$ORIGIN/../../third_party/install/mkldnn/lib/",
|
||||||
"$ORIGIN/../../third_party/install/mklml/lib/",
|
"$ORIGIN/../../third_party/install/mklml/lib/",
|
||||||
|
Reference in New Issue
Block a user