github: Build the msvcrt toolchains with LTO and PGO
This commit is contained in:
1 parent
80fad73644
commit
ca34a15634
1 file changed
+9
-1
@@ -106,6 +106,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{inputs.ref}}
|
ref: ${{inputs.ref}}
|
||||||
|
- name: Download profile
|
||||||
|
uses: dawidd6/action-download-artifact@v6
|
||||||
|
with:
|
||||||
|
workflow: build.yml
|
||||||
|
workflow_conclusion: success
|
||||||
|
ref: ${{inputs.ref}}
|
||||||
|
event: push
|
||||||
|
name: profile
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -114,7 +122,7 @@ jobs:
|
|||||||
TAG: ${{needs.prepare.outputs.TAG}}
|
TAG: ${{needs.prepare.outputs.TAG}}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get install libltdl-dev swig autoconf-archive
|
sudo apt-get update && sudo apt-get install libltdl-dev swig autoconf-archive
|
||||||
./build-cross-tools.sh /opt/llvm-mingw $(pwd)/install/llvm-mingw ${{matrix.arch}} --with-python
|
./build-cross-tools.sh /opt/llvm-mingw $(pwd)/install/llvm-mingw ${{matrix.arch}} --with-python --thinlto --pgo
|
||||||
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
||||||
cd install
|
cd install
|
||||||
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
|
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
|
||||||
|
|||||||
Reference in new issue
Block a user