Skip to content

Commit

Permalink
[no ci] ci: drop x64v4 build
Browse files Browse the repository at this point in the history
In the [new upstream effort](https://lore.kernel.org/all/[email protected]/T/) of https://github.com/graysky2/kernel_compiler_patch, it's pointed out that x64v4 is actually same with x64v3. As all SIMD related flags is [stripped out during build](https://github.com/torvalds/linux/blob/fac04efc5c793dccbd07e2d59af9f90b7fc0dca4/arch/x86/Makefile#L70-L79), and x64v4 only adds some AVX512 instruction over x64v3.

XanMod upstream also drops x64v4 build now.
  • Loading branch information
Locietta committed Dec 9, 2024
1 parent a1c819b commit 4c14ace
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
image-name: bzImage-x64v2
- arch: GENERIC_CPU3
image-name: bzImage-x64v3
- arch: GENERIC_CPU4
image-name: bzImage-x64v4
- arch: MSKYLAKE
image-name: bzImage-skylake

Expand Down Expand Up @@ -140,7 +138,7 @@ jobs:
Latest XanMod LTS kernel for WSL2, built with ${{ needs.build.outputs.clang_version }}.
Provide builds on different archs with matrix build utility of GitHub Action.
* `bzImage-x64v{2,3,4}` for generic-x86_64-v{2,3,4}
* `bzImage-x64v{2,3}` for generic-x86_64-v{2,3}
* `bzImage-skylake` for intel skylake
To check supported x86_64 level on your machine, see [how to check supported x86_64 level of the hardware](https://unix.stackexchange.com/questions/631217/how-do-i-check-if-my-cpu-supports-x86-64-v2?msclkid=42ca61e9aa7111ecbcab7bb1a4204357).
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
image-name: bzImage-x64v2
- arch: GENERIC_CPU3
image-name: bzImage-x64v3
- arch: GENERIC_CPU4
image-name: bzImage-x64v4

This comment has been minimized.

Copy link
@4-FLOSS-Free-Libre-Open-Source-Software

4-FLOSS-Free-Libre-Open-Source-Software Dec 15, 2024

Contributor
uname -a; /lib64/ld-linux-x86-64.so.2 --help | grep supported    
Linux wsl2 6.11.11-locietta-WSL2-xanmod1 #1 SMP PREEMPT_DYNAMIC Thu Dec  5 22:51:57 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  x86-64-v4 (supported, searched)
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)
- arch: MSKYLAKE
image-name: bzImage-skylake

Expand Down Expand Up @@ -151,10 +149,10 @@ jobs:
draft: ${{ github.event_name == 'pull_request' }}
target_commitish: ${{ steps.fetch_commit_sha.outputs.sha }}
body: |
Latest XanMod kernel for WSL2, built with ${{ needs.build.outputs.clang_version }}.
Latest XanMod MAIN kernel for WSL2, built with ${{ needs.build.outputs.clang_version }}.
Provide builds on different archs with matrix build utility of GitHub Action.
* `bzImage-x64v{2,3,4}` for generic-x86_64-v{2,3,4}
* `bzImage-x64v{2,3}` for generic-x86_64-v{2,3}
* `bzImage-skylake` for intel skylake
To check supported x86_64 level on your machine, see [how to check supported x86_64 level of the hardware](https://unix.stackexchange.com/questions/631217/how-do-i-check-if-my-cpu-supports-x86-64-v2?msclkid=42ca61e9aa7111ecbcab7bb1a4204357).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![](https://img.shields.io/github/license/Locietta/xanmod-kernel-WSL2)
![version](https://badgen.net/github/release/Locietta/xanmod-kernel-WSL2)

Unoffical [XanMod](https://github.com/xanmod/linux) port with [dxgkrnl](https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-5.15.62.1/drivers/hv/dxgkrnl) patched for **WSL2**, compiled by [clang](https://clang.llvm.org/) with ThinLTO enabled.
Unoffical [XanMod](https://gitlab.com/xanmod/linux) port with [dxgkrnl](https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.6.y/drivers/hv/dxgkrnl) patched for **WSL2**, compiled by [clang](https://clang.llvm.org/) with ThinLTO enabled.

This repo holds an automated **GitHub Action** workflow to build and release WSL kernel images. It checks if newer upstream version is available everyday, and trigger the build&release process accordingly.

Expand Down

0 comments on commit 4c14ace

Please sign in to comment.