From abe7f7942ecce9fdc72c3bda0d8a377f0812e4a0 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Tue, 7 Nov 2023 12:50:13 -0800 Subject: [PATCH] disable bounds checks for specific sp files --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7cbb4120..86ce0c81 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,6 +26,9 @@ if(BUILD_DEPRECATED) sptgpsd.f sptgptd.f sptgptsd.f sptgptvd.f sptrund.f sptrunl.f spvar.f) endif() +set_source_files_properties(fftpack.F PROPERTIES COMPILE_FLAGS -fcheck=no-bounds) +set_source_files_properties(sptranf.f PROPERTIES COMPILE_FLAGS -fcheck=no-bounds) +set_source_files_properties(sptranfv.f PROPERTIES COMPILE_FLAGS -fcheck=no-bounds) # Build _4, _d, and/or _8 depending on options provided to CMake foreach(kind ${kinds})