mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Revert the last 5 commits
This commit is contained in:
@@ -276,14 +276,6 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP
|
|||||||
add_compile_options(-Wno-unknown-pragmas)
|
add_compile_options(-Wno-unknown-pragmas)
|
||||||
# Adding -fext-numeric-literals to enable GCC extensions on definitions of quad float literals, which are required by Boost.
|
# Adding -fext-numeric-literals to enable GCC extensions on definitions of quad float literals, which are required by Boost.
|
||||||
add_compile_options(-fext-numeric-literals)
|
add_compile_options(-fext-numeric-literals)
|
||||||
# More of a "size" optimization, use thin archives for static building to not waste space
|
|
||||||
# Taken from https://bugs.webkit.org/show_bug.cgi?id=108330
|
|
||||||
if(SLIC3R_STATIC AND ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|
||||||
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> crUT <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
||||||
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> crUT <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
||||||
set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> rUT <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
||||||
set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> rUT <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Bit of a hack for flatpak building: compress the debug info with zstd to save space in CI
|
# Bit of a hack for flatpak building: compress the debug info with zstd to save space in CI
|
||||||
@@ -291,7 +283,6 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP
|
|||||||
add_compile_options(-gz=zstd)
|
add_compile_options(-gz=zstd)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (SLIC3R_ASAN)
|
if (SLIC3R_ASAN)
|
||||||
|
|||||||
@@ -256,8 +256,8 @@ modules:
|
|||||||
-DSLIC3R_STATIC=ON \
|
-DSLIC3R_STATIC=ON \
|
||||||
-DSLIC3R_BUILD_TESTS=OFF \
|
-DSLIC3R_BUILD_TESTS=OFF \
|
||||||
-DSLIC3R_DESKTOP_INTEGRATION=OFF \
|
-DSLIC3R_DESKTOP_INTEGRATION=OFF \
|
||||||
-DFLATPAK=ON \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DFLATPAK=ON \
|
||||||
-DBBL_RELEASE_TO_PUBLIC=1
|
-DBBL_RELEASE_TO_PUBLIC=1
|
||||||
CXXFLAGS=-std=gnu++20 cmake --build . --target install -j$FLATPAK_BUILDER_N_JOBS
|
CXXFLAGS=-std=gnu++20 cmake --build . --target install -j$FLATPAK_BUILDER_N_JOBS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user