mirror of
https://github.com/FEX-Emu/RootFS.git
synced 2024-11-26 16:10:35 +00:00
117 lines
5.0 KiB
Plaintext
117 lines
5.0 KiB
Plaintext
Host-packages
|
|
binutils-hppa64-linux-gnu dejagnu docbook-xsl-ns doxygen expect g++-9-multilib g++-multilib gcc-9-multilib gcc-multilib gnat-9 graphviz lib32gcc-9-dev lib32stdc++-9-dev libann0 libcdt5 libcgraph6 libgc-dev libgnat-9 libgnatvsn9 libgts-0.7-5 libgvc6 libgvpr2 libisl-dev liblab-gamut1 libmpc-dev libmpfr-dev libpathplan4 libx32gcc-9-dev libx32stdc++-9-dev libx32z1 libx32z1-dev
|
|
locales-all nvptx-tools systemtap-sdt-dev tcl-expect
|
|
|
|
git checkout releases/gcc-10.2.0
|
|
mkdir Build; cd Build
|
|
../configure --enable-languages=c,c++ --without-multilib --prefix="$(pwd)/install"
|
|
|
|
# Modify the hash files
|
|
libstdc++-v3/include/bits/hashtable_policy.h
|
|
libstdc++-v3/src/c++11/hashtable_c++0x.cc
|
|
|
|
make bootstrap all-target-libstdc++-v3 -j`nproc`
|
|
make install-target-libstdc++-v3 -j`nproc`
|
|
mkdir -p install/usr/lib/x86_64-linux-gnu/
|
|
cp install/lib64/* install/usr/lib/x86_64-linux-gnu/
|
|
|
|
cd install; tar -czf ../libstdc++_10_2_0.tar.gz *; cd ..
|
|
|
|
# Bootstrap time
|
|
37 minutes
|
|
|
|
# Make libstdc++-v3
|
|
|
|
|
|
# Mesa building
|
|
git checkout mesa-21.1.0
|
|
mkdir Build; cd Build
|
|
|
|
export DESTDIR=$(pwd)/install
|
|
meson -Dprefix=/usr -Dlibdir=/usr/lib/x86_64-linux-gnu \
|
|
-Dbuildtype=release \
|
|
-Db_ndebug=true \
|
|
-Dglvnd=enabled \
|
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,kmsro,v3d,vc4,freedreno,etnaviv,nouveau,tegra,virgl,lima,panfrost,swrast,zink \
|
|
-Dvulkan-drivers=amd,intel,freedreno,panfrost,swrast,broadcom,virtio,nouveau \
|
|
-Dfreedreno-kmds=msm,virtio \
|
|
-Dplatforms=x11,wayland \
|
|
..
|
|
|
|
ninja; ninja install;
|
|
|
|
cd install; tar -czf ../mesa_21_1.tar.gz *; cd ..
|
|
|
|
#Cross mesa
|
|
export DESTDIR=$(pwd)/install
|
|
meson -Dprefix=/usr -Dlibdir=/usr/lib/i386-linux-gnu \
|
|
-Dbuildtype=release \
|
|
-Db_ndebug=true \
|
|
-Dglvnd=enabled \
|
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,kmsro,v3d,vc4,freedreno,etnaviv,nouveau,tegra,virgl,lima,panfrost,swrast,zink \
|
|
-Dvulkan-drivers=amd,intel,freedreno,panfrost,swrast,broadcom,virtio,nouveau \
|
|
-Dfreedreno-kmds=msm,virtio \
|
|
-Dplatforms=x11,wayland \
|
|
--cross-file cross_x86 \
|
|
..
|
|
|
|
ninja; ninja install;
|
|
cd install; tar -czf ../mesa_21_1_x86.tar.gz *; cd ..
|
|
|
|
|
|
# 2m52s
|
|
time ../build_image.py ../Configs/Ubuntu_22_04.json /mnt/Work/Projects/work/FEX-rootfs/Cache/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04/
|
|
time ../build_image.py ../Configs/Ubuntu_22_04_Minimal.json /mnt/Work/Projects/work/FEX-rootfs/Cache/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04_Minimal/
|
|
time ../build_image.py ../Configs/Ubuntu_23_10.json /mnt/Work/Projects/work/FEX-rootfs/Cache/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_23_10/
|
|
time ../build_image.py ../Configs/Ubuntu_24_04.json /mnt/Work/Projects/work/FEX-rootfs/Cache/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_24_04/
|
|
time ../build_image.py ../Configs/Arch.json /mnt/Work/Projects/work/FEX-rootfs/Cache_Arch/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Arch/
|
|
time ../build_image.py ../Configs/Fedora_38.json /mnt/Work/Projects/work/FEX-rootfs/Cache_Fedora/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_38/
|
|
time ../build_image.py ../Configs/Fedora_40.json /mnt/Work/Projects/work/FEX-rootfs/Cache_Fedora_40/ /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_40/
|
|
|
|
# Upload to CDN
|
|
# WebGUI atm
|
|
|
|
# Hashes
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04/Ubuntu_22_04.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04/Ubuntu_22_04.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04_Minimal/Ubuntu_22_04_Minimal.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_22_04_Minimal/Ubuntu_22_04_Minimal.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_23_10/Ubuntu_23_10.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_23_10/Ubuntu_23_10.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_24_04/Ubuntu_24_04.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Ubuntu_24_04/Ubuntu_24_04.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Arch/ArchLinux.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Arch/ArchLinux.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_38/Fedora_38.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_38/Fedora_38.ero
|
|
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_40/Fedora_40.sqsh
|
|
FEXRootFSFetcher /mnt/Work/Projects/work/FEX-rootfs/RootFS_Fedora_40/Fedora_40.ero
|
|
|
|
# Modify RootFS_links.txt and upload to CDN
|
|
# WebGUI atm
|
|
|
|
## Errors
|
|
virt-format may fail.
|
|
- Workaround- sudo chmod +r /boot/vmlinuz-`uname -r`
|
|
|
|
# Main
|
|
cd install; tar -czf ../mesa_main_`git describe --dirty`.tar.gz *; cd ..
|
|
cd install; tar -czf ../mesa_main_`git describe --dirty`_x86.tar.gz *; cd ..
|
|
|
|
# Just ARM stuff
|
|
CC=clang CXX=clang++ meson -Dprefix=/usr -Dlibdir=/usr/lib/aarch64-linux-gnu \
|
|
-Dbuildtype=release \
|
|
-Db_ndebug=true \
|
|
-Dglvnd=enabled \
|
|
-Dgallium-drivers=swrast,kmsro,v3d,vc4,freedreno,virgl,lima,panfrost,swrast,zink \
|
|
-Dvulkan-drivers=freedreno,broadcom \
|
|
-Dfreedreno-kmds=msm,virtio \
|
|
-Dplatforms=x11,wayland \
|
|
..
|