From 2ec779e9b98ab1761dc5345c3e7986eb98e1f30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= <john.kare.alsaker@gmail.com> Date: Sun, 11 Aug 2024 00:47:41 +0200 Subject: [PATCH 1/3] Perform ThinLTO on x86_64-pc-windows-msvc dist builder --- src/ci/github-actions/jobs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml index eba55338ff826..fdb167f8143ee 100644 --- a/src/ci/github-actions/jobs.yml +++ b/src/ci/github-actions/jobs.yml @@ -581,6 +581,7 @@ auto: --enable-full-tools --enable-profiler --set rust.codegen-units=1 + --set rust.lto=thin SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths DIST_REQUIRE_ALL_TOOLS: 1 CODEGEN_BACKENDS: llvm,cranelift From 3d3aba074971925910681e219779a8aac0d19d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= <john.kare.alsaker@gmail.com> Date: Tue, 11 Mar 2025 22:21:13 +0100 Subject: [PATCH 2/3] Test --- src/ci/github-actions/jobs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml index fdb167f8143ee..e0b3bb0b0be37 100644 --- a/src/ci/github-actions/jobs.yml +++ b/src/ci/github-actions/jobs.yml @@ -90,7 +90,7 @@ envs: # - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain # # If you *want* these to happen however, temporarily comment it before triggering a try build. - DIST_TRY_BUILD: 1 + #DIST_TRY_BUILD: 1 auto: <<: *production From a8321995dc51e166aca98462888e05ff484c5101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= <john.kare.alsaker@gmail.com> Date: Thu, 13 Mar 2025 17:17:05 +0100 Subject: [PATCH 3/3] Add debug info --- src/ci/github-actions/jobs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ci/github-actions/jobs.yml b/src/ci/github-actions/jobs.yml index e0b3bb0b0be37..2dfa04b5bfa7a 100644 --- a/src/ci/github-actions/jobs.yml +++ b/src/ci/github-actions/jobs.yml @@ -582,6 +582,7 @@ auto: --enable-profiler --set rust.codegen-units=1 --set rust.lto=thin + --set rust.debuginfo-level=1 SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths DIST_REQUIRE_ALL_TOOLS: 1 CODEGEN_BACKENDS: llvm,cranelift