mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 01:19:05 +08:00
install dependencies gcc-12 and disable multilib
This commit is contained in:
parent
56e5bab174
commit
265824043d
6
.github/workflows/cura-installer.yml
vendored
6
.github/workflows/cura-installer.yml
vendored
@ -130,10 +130,12 @@ jobs:
|
||||
if ! command -v gcc-12 &> /dev/null
|
||||
then
|
||||
git clone --branch releases/gcc-12 https://gcc.gnu.org/git/gcc.git gcc-source
|
||||
./gcc-source/contrib/download_prerequisites
|
||||
cd gcc-source
|
||||
./contrib/download_prerequisites
|
||||
cd ..
|
||||
mkdir gcc-12-build
|
||||
cd gcc-12-build
|
||||
./../gcc-source/configure --prefix=${{ runner.tool_cache }}/gcc-12 --enable-languages=c,c++
|
||||
./../gcc-source/configure --prefix=${{ runner.tool_cache }}/gcc-12 --enable-languages=c,c++ --disable-multilib
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
echo "PATH=$PATH:${{ runner.tool_cache }}/gcc-12" >> $GITHUB_ENV
|
||||
|
Loading…
x
Reference in New Issue
Block a user