From f842a999735ff8a3ae043efe7e96598586130d99 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Fri, 18 Oct 2024 12:37:53 -0500 Subject: [PATCH] set NOMINSIZE, LTO --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9db2322c..4557bd8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,6 +167,8 @@ find_package(OpenCL REQUIRED) nanobind_add_module( _cl NB_STATIC # Build static libnanobind (the extension module itself remains a shared library) + LTO + NOMINSIZE src/wrap_constants.cpp src/wrap_cl.cpp src/wrap_cl_part_1.cpp