Giter Club home page Giter Club logo

inct-dd / wsl2-linux-kernel-clang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/wsl2-linux-kernel

2.0 1.0 0.0 1.68 GB

A modified Linux kernel for the Windows Subsystem for Linux 2 (WSL2) compiled with Clang/LLVM using LTO/Polly optimizations. AppArmor/Snaps support included.

License: Other

Makefile 0.24% Roff 0.02% C 98.06% Assembly 1.07% C++ 0.03% Shell 0.28% Perl 0.13% Awk 0.01% Python 0.13% sed 0.01% Yacc 0.01% Lex 0.01% UnrealScript 0.01% Gherkin 0.01% XS 0.01% Clojure 0.01% M4 0.01% SmPL 0.02% Raku 0.01%
linux-kernel wsl2 clangbuiltlinux llvm clang polly

wsl2-linux-kernel-clang's Introduction

Clang/LLVM WSL2-Linux-Kernel Build

Introduction

This repository contains a slightly different version of the standard WSL2 Kernel, compiled with Clang/LLVM using LTO/Polly optimizations, geared towards data workloads, and including the necessary kernel changes to properly run AppArmor and Snaps.

Important: do not use our build artifacts in production as they are automated builds used exclusively for debugging purposes. Only our releases are properly tested and even those could potentially bring you problems in mission critical deployments as we only test those kernels for our own purposes. So exercise caution and keep hacking!

For more information, take a look at our wiki

Reporting Bugs or Requesting Features

If you discover an issue relating to our kernel build, please report it using our issue tracker and DO NOT REPORT IT UPSTREAM. If we find that the bug is directly related to Microsoft's upstream version, we'll relay it for you.

Feature Requests

Even if our build is very workload specific, you can still ask us to include features using our issue tracker and we'll consider the possibility of including it. Please note that inclusions aren't guaranteed, but we'll do our best to accommodate other needs as we go.

Build Instructions

Please refer to .github/workflows/ as our builds are automated using GitHub Actions. We'll work on documenting the process directly in the .yml files, but for now the code is the documentation.

Install Instructions

We plan on offering an install script in the future to automatically download and configure our kernel builds for you, but for now please see the documentation on the .wslconfig configuration file for information on using a custom built kernel and check our wiki for our own installation instructions.

wsl2-linux-kernel-clang's People

Stargazers

 avatar  avatar

Watchers

 avatar

wsl2-linux-kernel-clang's Issues

Build fails on d3dkmthk header

Description:

The current build process is failing on the include/uapi/misc/d3dkmthk.h header as it is missing WITH Linux-syscall-note on the SPDX-License-Identifier, but according to linux/scripts/headers_install.sh all SPDX-License-Identifier with GPL variants must have "WITH Linux-syscall-note".

This should be easy enough to fix with a patch to append the required license information or with a direct change to the header. Upstream notified on microsoft/WSL#7866

Log Resume:

error: include/uapi/misc/d3dkmthk.h: missing "WITH Linux-syscall-note" for SPDX-License-Identifier
make[6]: *** [scripts/Makefile.headersinst:63: usr/include/misc/d3dkmthk.h] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:1311: headers] Error 2
make[4]: *** [scripts/Makefile.package:87: intdeb-pkg] Error 2
make[3]: *** [Makefile:1550: intdeb-pkg] Error 2
make[2]: *** [debian/rules:13: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1550: bindeb-pkg] Error 2
Error: Process completed with exit code 2.

Full logs: logs_8.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.