Skip to content

Commit

Permalink
set NOMINSIZE, LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Oct 18, 2024
1 parent fd8dc14 commit ea88895
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea88895

Please sign in to comment.