fix macos builds by avoiding double compilation of function_list.cpp for test_spir (#1866)

* modernize CMakeLists for test_spir

* add the operating system release to the sccache key

* include the math brute force function list vs. building it twice
This commit is contained in:
Ben Ashbaugh
2024-01-16 09:54:53 -08:00
committed by GitHub
parent 7d3db1bd07
commit 0a32b5ca9d
2 changed files with 8 additions and 13 deletions

View File

@@ -13,6 +13,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Import function list from math_brute_force
#define FUNCTION_LIST_ULPS_ONLY
#include "../math_brute_force/function_list.cpp"
#include "harness/compat.h"
#include <stdio.h>