Skip to content

Commit

Permalink
try using environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 26, 2024
1 parent e69177e commit 603eae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Checks: >
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-unchecked-optional-access
WarningsAsErrors: '*'
HeaderFilterRegex: 'io/substrait/.*\\.h$|protobuf/.*\\.h$'
HeaderFilterRegex: 'io/substrait/.*\\.h$'
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
Expand Down
1 change: 1 addition & 0 deletions scripts/run-clang-tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
WORKDIR="$( cd $SCRIPTDIR/.. && pwd )"

# Make compile_command.json
export CXXFLAGS=-Wno-attributes
rm -rf tmp && mkdir tmp && cmake -Btmp -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSUBSTRAIT_CPP_ROUNDTRIP_TESTING=ON
# Build substrait protobuf
pushd tmp/src/substrait/proto && make -j && popd || exit
Expand Down

0 comments on commit 603eae2

Please sign in to comment.