diff --git a/CMakeLists.txt b/CMakeLists.txt index 0adf6d01..b45e42d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,7 @@ FetchContent_Declare(simdjson EXCLUDE_FROM_ALL SYSTEM URL https://github.co FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.com/spnda/fastgltf/archive/refs/tags/v0.9.0.tar.gz URL_HASH SHA256=0bb564e127b14c22f062db50f89381dd2e0a20dbaf4987ca138a4ae8728712f9) FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/releases/download/1.0.2/glm-1.0.2.zip - URL_HASH SHA256=203b64abc82e4d8697cc5aeedc93117fc1ee52d36e7cdcfc0854fa2c607edaae) + URL_HASH SHA256=77fff075c5ab0caf076fade41558c5458d9a242aba2b2076bb72008bdb51a35e) FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.1.54.tar.gz URL_HASH SHA256=2055688081066e37238be996534f349420ac52ed34f8514836704232121ee7f3) FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.16.0.tar.gz diff --git a/flake.nix b/flake.nix index 79991652..24f0e451 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # Keep in sync with CMakeLists.txt monado rev rev = lib.strings.trim (builtins.readFile ./monado-rev); # Nix will output the correct hash when it doesn't match - hash = "sha256-nlfrx6NRYV9eMs+Rb9JBh+mwucL6v+bB3jBrPsSxh+Q="; + hash = "sha256-zU8TLRzd4pb9KzVT/xana6rArcSu31wlCD54p7PJ9UY="; }; }; diff --git a/flatpak/io.github.wivrn.wivrn.yml.in b/flatpak/io.github.wivrn.wivrn.yml.in index 9b7de5f7..30274957 100644 --- a/flatpak/io.github.wivrn.wivrn.yml.in +++ b/flatpak/io.github.wivrn.wivrn.yml.in @@ -72,11 +72,19 @@ modules: sources: - type: git url: https://github.com/crosstool-ng/crosstool-ng.git - tag: 70c2b00ad79a0a21a48e5a0eedc9f91c374af21d + tag: 620b909cd0713f68084378b63cf61b5232757b90 - type: shell commands: + # Make the build lighter: + # don't generate debug symbols at all - sed -i 's/-O2 -g/-O2/' scripts/crosstool-NG.sh - sed -i 's/-g -O2/-O2/' scripts/build/cc/gcc.sh + # Delete extracted sources when no longer needed + - sed -i '/# Cleanup/a rm -r "$(readlink "${kernel_path}")"' scripts/build/kernel/linux.sh + # Delete tarballs once extracted + - sed -i '2228i CT_DoExecLog FILE rm "$(readlink -f "${file}")"' scripts/functions + # Delete big test files + - sed -i '/CT_ExtractPatch GCC/a CT_Pushd "${CT_SRC_DIR}/gcc/gcc/testsuite/";CT_DoExecLog ALL rm -rf $(ls -1 | grep -v selftests);CT_Popd' scripts/build/cc/gcc.sh cleanup: - '*' @@ -221,7 +229,7 @@ modules: sources: - type: git url: https://gitlab.com/libeigen/eigen.git - tag: 3.4.0 + tag: 5.0.1 cleanup: - '*' diff --git a/monado-rev b/monado-rev index 126b6363..a358424c 100644 --- a/monado-rev +++ b/monado-rev @@ -1 +1 @@ -86a0ea4d3e396d4d03274252c400ddb62d1049b0 +93d5848d2f5f835fe29291dc7e0f094f3e02de78