Skip to content

Commit

Permalink
Build ntf-core without -Werror
Browse files Browse the repository at this point in the history
Occasional changes to ntf-core result in build errors, because we build
ntf-core with warnings as errors.  This patch copies the relevant changes from
the Python SDK repository to avoid this, as well as to build fewer unnecessary
parts of ntf-core.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
  • Loading branch information
pniedzielski committed Dec 13, 2023
1 parent 5f65a2a commit 7ebf4f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/build-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ fi
if [ ! -e "${DIR_BUILD}/ntf/.complete" ]; then
# Build and install NTF
pushd "${DIR_THIRDPARTY}/ntf-core"
./configure --prefix "${DIR_INSTALL}" --output "${DIR_BUILD}/ntf"
./configure --prefix "${DIR_INSTALL}" \
--output "${DIR_BUILD}/ntf" \
--without-warnings-as-errors \
--without-usage-examples \
--without-applications
make -j 16
make install
popd
Expand Down
6 changes: 5 additions & 1 deletion bin/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ fi
if [ ! -e "${DIR_BUILD}/ntf/.complete" ]; then
# Build and install NTF
pushd "${DIR_THIRDPARTY}/ntf-core"
./configure --prefix "${DIR_INSTALL}" --output "${DIR_BUILD}/ntf"
./configure --prefix "${DIR_INSTALL}" \
--output "${DIR_BUILD}/ntf" \
--without-warnings-as-errors \
--without-usage-examples \
--without-applications
make -j 16
make install
popd
Expand Down

0 comments on commit 7ebf4f4

Please sign in to comment.