Skip to content

Commit

Permalink
fix(setup.sh): correct fpm path in run-fpm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Dec 2, 2022
1 parent a0ead61 commit e42073d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/run-fpm.sh-header
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ do
shift
done

/opt/homebrew/opt/fpm/bin/fpm $fpm_arguments \
--profile debug \
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ fi
export PKG_CONFIG_PATH
cp scripts/run-fpm.sh-header build/run-fpm.sh
RUN_FPM_SH="`realpath ./build/run-fpm.sh`"
echo "`which fpm` \$fpm_arguments \\" >> $RUN_FPM_SH
echo "--profile debug \\" >> $RUN_FPM_SH
echo "--c-compiler \"`pkg-config inference-engine --variable=INFERENCE_ENGINE_FPM_CC`\" \\" >> $RUN_FPM_SH
echo "--compiler \"`pkg-config inference-engine --variable=INFERENCE_ENGINE_FPM_FC`\" \\" >> $RUN_FPM_SH
echo "--flag \"`pkg-config inference-engine --variable=INFERENCE_ENGINE_FPM_FLAG`\" \\" >> $RUN_FPM_SH
Expand Down

0 comments on commit e42073d

Please sign in to comment.