-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6846bdf
Showing
14,084 changed files
with
3,417,914 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
env: | ||
CIRRUS_CLONE_DEPTH: 1 | ||
|
||
windows_msys2_task: | ||
timeout_in: 90m | ||
windows_container: | ||
image: cirrusci/windowsservercore:2019 | ||
os_version: 2019 | ||
cpu: 8 | ||
memory: 8G | ||
env: | ||
CIRRUS_SHELL: powershell | ||
MSYS: winsymlinks:native | ||
MSYSTEM: MINGW64 | ||
MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe | ||
MSYS2_FINGERPRINT: 0 | ||
MSYS2_PACKAGES: " | ||
diffutils git grep make pkg-config sed | ||
mingw-w64-x86_64-python | ||
mingw-w64-x86_64-python-sphinx | ||
mingw-w64-x86_64-toolchain | ||
mingw-w64-x86_64-SDL2 | ||
mingw-w64-x86_64-SDL2_image | ||
mingw-w64-x86_64-gtk3 | ||
mingw-w64-x86_64-glib2 | ||
mingw-w64-x86_64-ninja | ||
mingw-w64-x86_64-jemalloc | ||
mingw-w64-x86_64-lzo2 | ||
mingw-w64-x86_64-zstd | ||
mingw-w64-x86_64-libjpeg-turbo | ||
mingw-w64-x86_64-pixman | ||
mingw-w64-x86_64-libgcrypt | ||
mingw-w64-x86_64-libpng | ||
mingw-w64-x86_64-libssh | ||
mingw-w64-x86_64-snappy | ||
mingw-w64-x86_64-libusb | ||
mingw-w64-x86_64-usbredir | ||
mingw-w64-x86_64-libtasn1 | ||
mingw-w64-x86_64-nettle | ||
mingw-w64-x86_64-cyrus-sasl | ||
mingw-w64-x86_64-curl | ||
mingw-w64-x86_64-gnutls | ||
mingw-w64-x86_64-libnfs | ||
" | ||
CHERE_INVOKING: 1 | ||
msys2_cache: | ||
folder: C:\tools\archive | ||
reupload_on_changes: false | ||
# These env variables are used to generate fingerprint to trigger the cache procedure | ||
# If wanna to force re-populate msys2, increase MSYS2_FINGERPRINT | ||
fingerprint_script: | ||
- | | ||
echo $env:CIRRUS_TASK_NAME | ||
echo $env:MSYS2_URL | ||
echo $env:MSYS2_FINGERPRINT | ||
echo $env:MSYS2_PACKAGES | ||
populate_script: | ||
- | | ||
md -Force C:\tools\archive\pkg | ||
$start_time = Get-Date | ||
bitsadmin /transfer msys_download /dynamic /download /priority FOREGROUND $env:MSYS2_URL C:\tools\archive\base.exe | ||
Write-Output "Download time taken: $((Get-Date).Subtract($start_time))" | ||
cd C:\tools | ||
C:\tools\archive\base.exe -y | ||
del -Force C:\tools\archive\base.exe | ||
Write-Output "Base install time taken: $((Get-Date).Subtract($start_time))" | ||
$start_time = Get-Date | ||
((Get-Content -path C:\tools\msys64\etc\\post-install\\07-pacman-key.post -Raw) -replace '--refresh-keys', '--version') | Set-Content -Path C:\tools\msys64\etc\\post-install\\07-pacman-key.post | ||
C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf" | ||
C:\tools\msys64\usr\bin\bash.exe -lc "export" | ||
C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Sy | ||
echo Y | C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Suu --overwrite=* | ||
taskkill /F /FI "MODULES eq msys-2.0.dll" | ||
tasklist | ||
C:\tools\msys64\usr\bin\bash.exe -lc "mv -f /etc/pacman.conf.pacnew /etc/pacman.conf || true" | ||
C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Syuu --overwrite=*" | ||
Write-Output "Core install time taken: $((Get-Date).Subtract($start_time))" | ||
$start_time = Get-Date | ||
C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed $env:MSYS2_PACKAGES" | ||
Write-Output "Package install time taken: $((Get-Date).Subtract($start_time))" | ||
$start_time = Get-Date | ||
del -Force -ErrorAction SilentlyContinue C:\tools\msys64\etc\mtab | ||
del -Force -ErrorAction SilentlyContinue C:\tools\msys64\dev\fd | ||
del -Force -ErrorAction SilentlyContinue C:\tools\msys64\dev\stderr | ||
del -Force -ErrorAction SilentlyContinue C:\tools\msys64\dev\stdin | ||
del -Force -ErrorAction SilentlyContinue C:\tools\msys64\dev\stdout | ||
del -Force -Recurse -ErrorAction SilentlyContinue C:\tools\msys64\var\cache\pacman\pkg | ||
tar cf C:\tools\archive\msys64.tar -C C:\tools\ msys64 | ||
Write-Output "Package archive time taken: $((Get-Date).Subtract($start_time))" | ||
del -Force -Recurse -ErrorAction SilentlyContinue c:\tools\msys64 | ||
install_script: | ||
- | | ||
$start_time = Get-Date | ||
cd C:\tools | ||
ls C:\tools\archive\msys64.tar | ||
tar xf C:\tools\archive\msys64.tar | ||
Write-Output "Extract msys2 time taken: $((Get-Date).Subtract($start_time))" | ||
script: | ||
- C:\tools\msys64\usr\bin\bash.exe -lc "mkdir build" | ||
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && ../configure --python=python3" | ||
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make -j8" | ||
- exit $LastExitCode | ||
test_script: | ||
- C:\tools\msys64\usr\bin\bash.exe -lc "cd build && make V=1 check" | ||
- exit $LastExitCode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
((c-mode . ((c-file-style . "stroustrup") | ||
(indent-tabs-mode . nil)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# EditorConfig is a file format and collection of text editor plugins | ||
# for maintaining consistent coding styles between different editors | ||
# and IDEs. Most popular editors support this either natively or via | ||
# plugin. | ||
# | ||
# Check https://editorconfig.org for details. | ||
# | ||
# Emacs: you need https://github.com/10sr/editorconfig-custom-majormode-el | ||
# to automatically enable the appropriate major-mode for your files | ||
# that aren't already caught by your existing config. | ||
# | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
|
||
[*.mak] | ||
indent_style = tab | ||
indent_size = 8 | ||
emacs_mode = makefile | ||
|
||
[Makefile*] | ||
indent_style = tab | ||
indent_size = 8 | ||
emacs_mode = makefile | ||
|
||
[*.{c,h,c.inc,h.inc}] | ||
indent_style = space | ||
indent_size = 4 | ||
emacs_mode = c | ||
|
||
[*.sh] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{s,S}] | ||
indent_style = tab | ||
indent_size = 8 | ||
emacs_mode = asm | ||
|
||
[*.{vert,frag}] | ||
emacs_mode = glsl | ||
|
||
[*.json] | ||
indent_style = space | ||
emacs_mode = python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"VIM settings to match QEMU coding style. They are activated by adding the | ||
"following settings (without the " symbol) as last two lines in $HOME/.vimrc: | ||
"set secure | ||
"set exrc | ||
set expandtab | ||
set shiftwidth=4 | ||
set smarttab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# GDB may have ./.gdbinit loading disabled by default. In that case you can | ||
# follow the instructions it prints. They boil down to adding the following to | ||
# your home directory's ~/.gdbinit file: | ||
# | ||
# add-auto-load-safe-path /path/to/qemu/.gdbinit | ||
|
||
# Load QEMU-specific sub-commands and settings | ||
source scripts/qemu-gdb.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.c.inc diff=c | ||
*.h.inc diff=c | ||
*.m diff=objc | ||
*.py diff=python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/GNUmakefile | ||
/build/ | ||
*.pyc | ||
.sdk | ||
.stgit-* | ||
.git-submodule-status | ||
cscope.* | ||
tags | ||
TAGS | ||
GPATH | ||
GRTAGS | ||
GTAGS | ||
*~ | ||
*.ast_raw | ||
*.depend_raw | ||
*.swp | ||
*.patch | ||
*.gcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# This is the GitLab CI configuration file for the mainstream QEMU | ||
# project: https://gitlab.com/qemu-project/qemu/-/pipelines | ||
# | ||
# !!! DO NOT ADD ANY NEW CONFIGURATION TO THIS FILE !!! | ||
# | ||
# Only documentation or comments is accepted. | ||
# | ||
# To use a different set of jobs than the mainstream QEMU project, | ||
# you need to set the location of your custom yml file at "custom CI/CD | ||
# configuration path", on your GitLab CI namespace: | ||
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#custom-cicd-configuration-path | ||
# | ||
# ---------------------------------------------------------------------- | ||
# | ||
# QEMU CI jobs are based on templates. Some templates provide | ||
# user-configurable options, modifiable via configuration variables. | ||
# | ||
# See https://qemu-project.gitlab.io/qemu/devel/ci.html#custom-ci-cd-variables | ||
# for more information. | ||
# | ||
|
||
include: | ||
- local: '/.gitlab-ci.d/qemu-project.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[submodule "roms/seabios"] | ||
path = roms/seabios | ||
url = https://gitlab.com/qemu-project/seabios.git/ | ||
[submodule "roms/SLOF"] | ||
path = roms/SLOF | ||
url = https://gitlab.com/qemu-project/SLOF.git | ||
[submodule "roms/ipxe"] | ||
path = roms/ipxe | ||
url = https://gitlab.com/qemu-project/ipxe.git | ||
[submodule "roms/openbios"] | ||
path = roms/openbios | ||
url = https://gitlab.com/qemu-project/openbios.git | ||
[submodule "roms/qemu-palcode"] | ||
path = roms/qemu-palcode | ||
url = https://gitlab.com/qemu-project/qemu-palcode.git | ||
[submodule "roms/sgabios"] | ||
path = roms/sgabios | ||
url = https://gitlab.com/qemu-project/sgabios.git | ||
[submodule "dtc"] | ||
path = dtc | ||
url = https://gitlab.com/qemu-project/dtc.git | ||
[submodule "roms/u-boot"] | ||
path = roms/u-boot | ||
url = https://gitlab.com/qemu-project/u-boot.git | ||
[submodule "roms/skiboot"] | ||
path = roms/skiboot | ||
url = https://gitlab.com/qemu-project/skiboot.git | ||
[submodule "roms/QemuMacDrivers"] | ||
path = roms/QemuMacDrivers | ||
url = https://gitlab.com/qemu-project/QemuMacDrivers.git | ||
[submodule "ui/keycodemapdb"] | ||
path = ui/keycodemapdb | ||
url = https://gitlab.com/qemu-project/keycodemapdb.git | ||
[submodule "roms/seabios-hppa"] | ||
path = roms/seabios-hppa | ||
url = https://gitlab.com/qemu-project/seabios-hppa.git | ||
[submodule "roms/u-boot-sam460ex"] | ||
path = roms/u-boot-sam460ex | ||
url = https://gitlab.com/qemu-project/u-boot-sam460ex.git | ||
[submodule "tests/fp/berkeley-testfloat-3"] | ||
path = tests/fp/berkeley-testfloat-3 | ||
url = https://gitlab.com/qemu-project/berkeley-testfloat-3.git | ||
[submodule "tests/fp/berkeley-softfloat-3"] | ||
path = tests/fp/berkeley-softfloat-3 | ||
url = https://gitlab.com/qemu-project/berkeley-softfloat-3.git | ||
[submodule "roms/edk2"] | ||
path = roms/edk2 | ||
url = https://gitlab.com/qemu-project/edk2.git | ||
[submodule "slirp"] | ||
path = slirp | ||
url = https://gitlab.com/qemu-project/libslirp.git | ||
[submodule "roms/opensbi"] | ||
path = roms/opensbi | ||
url = https://gitlab.com/qemu-project/opensbi.git | ||
[submodule "roms/qboot"] | ||
path = roms/qboot | ||
url = https://gitlab.com/qemu-project/qboot.git | ||
[submodule "meson"] | ||
path = meson | ||
url = https://gitlab.com/qemu-project/meson.git | ||
[submodule "roms/vbootrom"] | ||
path = roms/vbootrom | ||
url = https://gitlab.com/qemu-project/vbootrom.git | ||
[submodule "tests/lcitool/libvirt-ci"] | ||
path = tests/lcitool/libvirt-ci | ||
url = https://gitlab.com/libvirt/libvirt-ci.git | ||
[submodule "subprojects/libvfio-user"] | ||
path = subprojects/libvfio-user | ||
url = https://gitlab.com/qemu-project/libvfio-user.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# | ||
# Common git-publish profiles that can be used to send patches to QEMU upstream. | ||
# | ||
# See https://github.com/stefanha/git-publish for more information | ||
# | ||
[gitpublishprofile "default"] | ||
base = master | ||
to = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "rfc"] | ||
base = master | ||
prefix = RFC PATCH | ||
to = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "stable"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "trivial"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "block"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "arm"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "s390"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null | ||
|
||
[gitpublishprofile "ppc"] | ||
base = master | ||
to = [email protected] | ||
cc = [email protected] | ||
cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null |
Oops, something went wrong.