Skip to content

Commit 594a4aa

Browse files
committed
Add CXX flags
1 parent 57616a5 commit 594a4aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-onnxruntime.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
patch -p1 < ../patches/onnxruntime-freebsd.patch
5656
5757
# Build wheel
58+
# Extra include path needed for logging.h on FreeBSD
59+
export CXXFLAGS="-I$(pwd)/include/onnxruntime/core/common/logging"
5860
CC=clang CXX=clang++ ${PYTHON} ./tools/ci_build/build.py \
5961
--build_dir ./build/FreeBSD \
6062
--config Release \

0 commit comments

Comments
 (0)