forked from prusa3d/PrusaSlicer
-
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge dev: fix for linux build (20.04) and overhangs_speed_enforce
- Loading branch information
Showing
41 changed files
with
590 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: macos-12 | ||
runs-on: macos-11 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,14 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -25,7 +29,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk2 glew | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -dgs | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,16 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 'debug_ubuntu' | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -24,7 +28,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk2 glew | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -bdgs | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,14 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -25,7 +29,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk3 glew | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -ds | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,16 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 'debug_ubuntu' | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -24,7 +28,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk3 glew | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev libssl-dev libcurl4-openssl-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -bds | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,18 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
env: | ||
EXEC_NAME: "${{ github.event.repository.name }}" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 'rc' | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -26,7 +30,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk3 glew | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev | ||
run: sudo apt install libgtk-3-dev libglew-dev libudev-dev libdbus-1-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -ds | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,16 @@ on: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: 'rc' | ||
- name: Setup cmake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.16.x' | ||
- name: update submodule profiles | ||
working-directory: ./resources/profiles | ||
run: git submodule update --init | ||
|
@@ -24,7 +28,7 @@ jobs: | |
- name: update apt | ||
run: sudo apt update | ||
- name: install gtk2 glew | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev | ||
run: sudo apt install libgtk2.0-dev libglew-dev libudev-dev libdbus-1-dev gettext | ||
- name: build deps & slicer | ||
run: ./BuildLinux.sh -dgs | ||
- name: make .pot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
include(GNUInstallDirs) | ||
|
||
set(_patch_step "") | ||
if (APPLE) | ||
set(_patch_step PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/Qhull.patch) | ||
endif () | ||
|
||
|
||
prusaslicer_add_cmake_project(Qhull | ||
URL "https://github.com/qhull/qhull/archive/v8.0.1.zip" | ||
URL_HASH SHA256=5287f5edd6a0372588f5d6640799086a4033d89d19711023ef8229dd9301d69b | ||
"${_patch_step}" | ||
CMAKE_ARGS | ||
-DINCLUDE_INSTALL_DIR=${CMAKE_INSTALL_INCLUDEDIR} | ||
) | ||
|
||
|
||
if (MSVC) | ||
add_debug_dep(dep_Qhull) | ||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- CMakeLists.txt 2020-08-04 20:37:02.000000000 -0700 | ||
+++ CMakeLists.txt 2022-08-14 12:02:28.000000000 -0700 | ||
@@ -339,21 +339,21 @@ | ||
|
||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src) | ||
|
||
-if(CMAKE_BUILD_TYPE MATCHES "[dD]ebug") | ||
- set(qhull_CPP qhullcpp_d) | ||
- set(qhull_SHARED qhull_d) | ||
- set(qhull_SHAREDP qhull_pd) | ||
- set(qhull_SHAREDR qhull_rd) | ||
- set(qhull_STATIC qhullstatic_d) | ||
- set(qhull_STATICR qhullstatic_rd) | ||
-else() | ||
+#if(CMAKE_BUILD_TYPE MATCHES "[dD]ebug") | ||
+# set(qhull_CPP qhullcpp_d) | ||
+# set(qhull_SHARED qhull_d) | ||
+# set(qhull_SHAREDP qhull_pd) | ||
+# set(qhull_SHAREDR qhull_rd) | ||
+# set(qhull_STATIC qhullstatic_d) | ||
+# set(qhull_STATICR qhullstatic_rd) | ||
+#else() | ||
set(qhull_CPP qhullcpp) | ||
set(qhull_SHARED libqhull) # Temporarily avoid name conflict with qhull executable | ||
set(qhull_SHAREDP qhull_p) | ||
set(qhull_SHAREDR qhull_r) | ||
set(qhull_STATIC qhullstatic) | ||
set(qhull_STATICR qhullstatic_r) | ||
-endif() | ||
+#endif() | ||
|
||
set( | ||
qhull_TARGETS_INSTALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.