Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Compiling

Patrick Magauran edited this page Nov 30, 2020 · 6 revisions

Compiling

Fedora 32

  1. First update to the latests packages: sudo dnf update

  2. Download all the needed files and dependencies and setup the workspace.

    mkdir i195dev
    cd i915dev/
    git clone https://github.com/RotatingFans/i915ovmfPkg.git
    git clone https://github.com/tianocore/edk2.git
    git clone https://github.com/tianocore/edk2-platforms.git
    cd edk2-platforms/
    git submodule update --init
    cd ../edk2
    git submodule update --init
    cd ..
    mkdir Conf
    cp i915ovmfPkg/target.txt Conf/target.txt
    sudo dnf install libuuid-devel iasl nasm clang lld-devel llvm-devel cmake automake
  3. Edit the build.sh file to use the newly created workspace.

    • Modify the WORKSPACE variable to point to your new folder(ex /home/USER/i915dev)
  4. Try to build the code: sudo ./i915ovmfPkg/build.sh

    • Note Sudo may be required for a variety of reasons.

Using compiled version

  1. Use most of the commands and steps listed on the Using Page, BUT
    • Use the test script for gvt-g and the test-gvt-d.sh script for gvt-d
      • These scripts both build and run the software

Other Linux Distributions

It should be possible to compile and run this without much issue on other distributions of linux. However some dependencies and commands may be different.

Clone this wiki locally