Commit Graph

16 Commits

Author SHA1 Message Date
Billiam Crashkopf 049e5f5385 Change Linux build script to recognize more supported distributions
This changes the way the Linux build script recognizes which
distribution script might be compatible with the host OS.  It
does so by checking both the `ID` and `ID_LIKE` tags in
`/etc/os-release` against available scripts in `linux.d`.  First match
is used.

Note that ID_LIKE isn't a 100% compatability guarantee, but it gives the
user a fighting chance that the script will work for their distribution,
and should reduce the need for manual addition of more distribution
targets.
2025-01-13 10:22:37 +08:00
Mack 0c8a165a6e FIX:docker continer can't find bc command
jira: nojira
Change-Id: Icce22284a0d1a69387418a7c9e0c8b695c4cdac0
2024-10-15 15:50:26 +08:00
Mack ce360ce9eb NEW: BuildLinux.sh add parallel count limit
JIRA:no

Detecting the free memory(GB)/2.5 set to the number of parallels

Change-Id: I171807071af9819e2a3aad0e27355d95975dbaa0
(cherry picked from commit 898ccf372931c09ae653cbb004a66223d5662817)
2024-07-17 15:49:00 +08:00
MackBambu fe359394f3 ENH: Refactor BuildLinux.sh to support fedora
JIRA: STUDIO-4377 STUDIO-7461
GITHUB: #2429
Change-Id: Ib4f14a88d04e789a58b1f83425a1708ce4934b0e
(cherry picked from commit a7c9e9e288694fe72665e45977f0676d827c767f)
2024-07-17 15:49:00 +08:00
Mack 6cdf257160 ENH: ubuntu 24.04 build using libwebkit2gtk-4.1-dev
JIRA: STUDIO-4377
GITHUB: #2429
Change-Id: Ia153a6d387e8ebc7da19d5ba7bd5012aea8ed93c
(cherry picked from commit ce5ff82781bde579acaeb2d8cae69e9825549983)
2024-07-17 15:49:00 +08:00
Mack d30fb51b85 ci: github actions add ubuntu24 build
JIRA: STUDIO-6329
Change-Id: I499d21a1ae61ece2a753a71de621dc7e86fc921d
2024-06-18 14:55:27 +08:00
lane.wei b720b02834 FIX: linux: fix the building issue on Linux Mint 21.3 Virginia
github: https://github.com/bambulab/BambuStudio/issues/3874
author: https://github.com/lucianoloder

Change-Id: Ia3db6923d5dd68dba532d7bdba6f93f73cc51d59
2024-04-19 16:33:45 +08:00
Bastien Nocera 9f69b21b5c deps: Build wxWidgets without mspack support
We don't use wxWidgets' CHM support, so don't require libmspack's
development libraries, and disable building wxWidgets with the support.
2024-01-08 08:40:28 +08:00
lane.wei bd75af4a43 ENH: Linux: set BBL_INTERNAL_TESTING to 1 for release build
Change-Id: I1545636c9e9714b44124ea0ddf18ef39f277a2b8
2023-04-17 15:39:02 +08:00
fang64 1693086504 Add -r flag to BuildLinux.sh to skip ram check 2023-02-01 21:12:20 +08:00
lane.wei b2caf90498 Revert "ENH: add the linux build action to github"
This reverts commit c0791f0fdd.

wrongly pushed to master
2023-01-31 21:27:35 +08:00
lane.wei c0791f0fdd ENH: add the linux build action to github 2023-01-31 21:13:42 +08:00
deftdawg 51e8788167 Add check_available_memory_and_disk to BuildLinux.sh 2022-12-09 09:42:41 +08:00
DeftDawg 221a7c8e42 - BuildLinux Improvements:
- Add BBL_RELEASE_TO_PUBLIC for non-debug builds
  - Increase cmake jobs
2022-10-09 10:38:37 +08:00
lane.wei b71917b28c add extra-cmake-modules required in buildlinux.sh
for linux building
patch picked from deftdawg, thanks deftdawg

Change-Id: I0049131fccffb3e018834f9613b10c57dcfd13e5
2022-09-17 09:08:04 +08:00
DeftDawg f5a4862da5 Add Linux related build scripts
including following changes:
- Linux build scripts from SuperSlicer project;
- Update BuildLinux dev dependencies, remove unused bits;
- Update BuildLinuxImage to use nproc for cpus;
- CMake: render BuildLinuxImage and build_appimage templates;
- Fix "DSO missing" linking problems;
- Add Podman Containerfile for building;
- Update BuildLinux.sh to work better in container build;
- fixes to create AppImage inside container;
- add env to build environment;
- Update build instructions in Containerfile;

Change-Id: I73e30ab488cda8c1b0886cd34858e125596f282b
(cherry picked from commit 83fc26670ca592c91c7af1d4033a04b587cfd4cd)
2022-09-15 16:03:53 +08:00