diff --git a/CMakeLists.txt b/CMakeLists.txt index 58860bb7..816aa1d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,8 +188,7 @@ if (${SKBUILD}) install(TARGETS ${module_name} DESTINATION .) else () set(module_name "librapid") - add_library(${module_name} STATIC ${LIBRAPID_SOURCES} - librapid/include/librapid/core/log.hpp) + add_library(${module_name} STATIC ${LIBRAPID_SOURCES}) endif () # clang-format off diff --git a/librapid/bindings/generators/arrayGenerator.py b/librapid/bindings/generators/arrayGenerator.py index 7576ac80..1957850a 100644 --- a/librapid/bindings/generators/arrayGenerator.py +++ b/librapid/bindings/generators/arrayGenerator.py @@ -55,16 +55,16 @@ def generateFunctionsForArray(config): ), # Move constructor - function.Function( - name="__init__", - args=[ - argument.Argument( - name="other", - type=generateCppArrayType(config), - move=True - ) - ] - ), + # function.Function( + # name="__init__", + #  args=[ + # argument.Argument( + # name="other", + # type=generateCppArrayType(config), + # move=True + # ) + # ] + # ), # Shape function.Function( diff --git a/pyproject.toml b/pyproject.toml index 06f51770..124fd6bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,8 +14,8 @@ build-backend = "scikit_build_core.build" [tool.scikit-build] -cmake.build-type = "MinSizeRel" -cmake.args = ["-DCMAKE_BUILD_TYPE=MinSizeRel"] +cmake.build-type = "Release" +cmake.args = ["-DCMAKE_BUILD_TYPE=Release"] ninja.make-fallback = true sdist.cmake = true diff --git a/scripts/setPythonLibCompiler.py b/scripts/setPythonLibCompiler.py index 1eca1803..c2fd4378 100644 --- a/scripts/setPythonLibCompiler.py +++ b/scripts/setPythonLibCompiler.py @@ -13,7 +13,7 @@ with open("../pyproject.toml", "r") as pyproj: for line in pyproj.readlines(): if line.startswith("cmake.args"): - text += f'cmake.args = ["-DCMAKE_BUILD_TYPE=MinSizeRel", "-DCMAKE_C_COMPILER={args.ccompiler}", "-DCMAKE_CXX_COMPILER={args.cxxcompiler}"]\n' + text += f'cmake.args = ["-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_C_COMPILER={args.ccompiler}", "-DCMAKE_CXX_COMPILER={args.cxxcompiler}"]\n' else: text += line diff --git a/scripts/tmp/pyprojectTemplate.toml b/scripts/tmp/pyprojectTemplate.toml index 42f99415..0b7b24a8 100644 --- a/scripts/tmp/pyprojectTemplate.toml +++ b/scripts/tmp/pyprojectTemplate.toml @@ -14,8 +14,8 @@ build-backend = "scikit_build_core.build" [tool.scikit-build] -cmake.build-type = "MinSizeRel" -cmake.args = ["-DCMAKE_BUILD_TYPE=MinSizeRel"] +cmake.build-type = "Release" +cmake.args = ["-DCMAKE_BUILD_TYPE=Release"] ninja.make-fallback = true sdist.cmake = true