Skip to content

Commit

Permalink
Fix onnx script
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed May 24, 2024
1 parent b687bd3 commit 06853de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stages/99-onnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ case "$TARGET" in
# Fix google_nsync trying to compile C code as C++, which zig does not support
sed -i 's/foreach (s IN ITEMS ${NSYNC_COMMON_SRC} ${NSYNC_OS_CPP_SRC})/foreach (s IN ITEMS ${NSYNC_COMMON_SRC} ${NSYNC_OS_CPP_SRC})\nget_filename_component(sle ${s} NAME_WLE)/g' _deps/google_nsync-src/CMakeLists.txt
sed -i 's/cpp\/${s}/cpp\/${sle}.cc/g' _deps/google_nsync-src/CMakeLists.txt
;;

# Regenerate build files after cmake patches
env PREFIX="$OUT" cmake "${args[@]}" ../cmake
;;
esac

ninja -j"$(nproc)"
Expand Down

0 comments on commit 06853de

Please sign in to comment.