Skip to content

Commit

Permalink
Merged deveop on to branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ggartside committed Mar 1, 2023
2 parents 65f0544 + fc854a4 commit b270448
Show file tree
Hide file tree
Showing 2,354 changed files with 25,458 additions and 17,182 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@ jobs:
--suppress=functionConst:src/utilities/filetypes/WorkflowStep.hpp \
--suppress=functionConst:src/utilities/filetypes/WorkflowStepResult.hpp \
--suppress=redundantAssignment:src/utilities/sql/SqlFile.hpp \
--suppress=constParameterCallback:src/utilities/idd/benchmark/IddObjectParse_Benchmark.cpp \
--suppress=constParameterCallback:src/utilities/idd/benchmark/LoadIdd_Benchmark.cpp \
--suppress=constParameterCallback:src/utilities/idf/benchmark/IdfObjectParse_Benchmark.cpp \
--suppress=constParameterCallback:src/utilities/idf/benchmark/LoadIdfFile_Benchmark.cpp \
--suppress=constStatement:src/utilities/geometry/Intersection.cpp \
--inline-suppr \
--inconclusive \
--template='[{file}:{line}]:({severity}),[{id}],{message}' \
-j $(nproc) \
--force \
--max-configs=1 \
-i src/cli/test \
-i src/airflow/contam \
-i src/polypartition \
Expand Down
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,14 @@ mark_as_advanced(BUILD_PYTHON_BINDINGS)
option(BUILD_TESTING "Build testing targets" OFF)

option(BUILD_BENCHMARK "Build benchmarking targets" OFF)
if(BUILD_BENCHMARK)
configure_file(${PROJECT_SOURCE_DIR}/developer/python/run_benchmark.py ${PROJECT_BINARY_DIR}/run_benchmark.py COPYONLY)
add_custom_target(run_benchmarks
COMMAND python run_benchmark.py --quiet --all
DEPENDS "${PROJECT_BINARY_DIR}/run_benchmark.py"
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
)
endif()

option(BUILD_RUBY_BINDINGS "Build Ruby bindings" ON)
mark_as_advanced(BUILD_RUBY_BINDINGS)
Expand Down
Loading

0 comments on commit b270448

Please sign in to comment.