aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/ci
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:52 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 18:24:51 -0500
commitf5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch)
tree93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/ci
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/ci')
-rw-r--r--lib/mlibc/ci/abidiff_suppress.ini2
-rw-r--r--lib/mlibc/ci/aero.cross-file12
-rw-r--r--lib/mlibc/ci/bootstrap.yml181
-rw-r--r--lib/mlibc/ci/dripos.cross-file12
-rw-r--r--lib/mlibc/ci/ironclad.cross-file12
-rw-r--r--lib/mlibc/ci/keyronex.cross-file9
-rw-r--r--lib/mlibc/ci/lemon.cross-file12
-rw-r--r--lib/mlibc/ci/linux-aarch64.cross-file13
-rw-r--r--lib/mlibc/ci/linux-riscv64.cross-file13
-rw-r--r--lib/mlibc/ci/linux-x86.cross-file10
-rw-r--r--lib/mlibc/ci/linux-x86_64.cross-file9
-rw-r--r--lib/mlibc/ci/lyre.cross-file12
-rw-r--r--lib/mlibc/ci/managarm.cross-file12
13 files changed, 0 insertions, 309 deletions
diff --git a/lib/mlibc/ci/abidiff_suppress.ini b/lib/mlibc/ci/abidiff_suppress.ini
deleted file mode 100644
index 0f68976..0000000
--- a/lib/mlibc/ci/abidiff_suppress.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[suppress_function]
-name_regexp = ^(mlibc|frg|std)::.*
diff --git a/lib/mlibc/ci/aero.cross-file b/lib/mlibc/ci/aero.cross-file
deleted file mode 100644
index 48772eb..0000000
--- a/lib/mlibc/ci/aero.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'aero'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/bootstrap.yml b/lib/mlibc/ci/bootstrap.yml
deleted file mode 100644
index f166bcc..0000000
--- a/lib/mlibc/ci/bootstrap.yml
+++ /dev/null
@@ -1,181 +0,0 @@
-declare_options:
- - name: arch
- default: x86_64
-
-sources:
- - name: mlibc
- git: 'https://github.com/managarm/mlibc.git'
- branch: 'master'
-
- - name: linux
- url: 'https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.8.tar.xz'
- extract_path: 'linux-6.1.8'
- format: 'tar.xz'
- version: '6.1.8'
-
-tools:
-
-packages:
- - name: mlibc
- architecture: '@OPTION:arch@'
- from_source: mlibc
- pkgs_required:
- - linux-headers
- configure:
- - args:
- - 'meson'
- - 'setup'
- - '--prefix=/usr'
- - '--libdir=lib'
- - '--buildtype=debugoptimized'
- - "-Dc_args=['-Wno-error=maybe-uninitialized']"
- - "-Dcpp_args=['-Wno-error=maybe-uninitialized']"
- - "-Dbuild_tests=true"
- - "-Db_sanitize=undefined"
- - "-Ddefault_library=both"
- - "-Dwerror=true"
- - '-Dlinux_kernel_headers=@BUILD_ROOT@/packages/linux-headers/usr/include'
- - "--cross-file=@THIS_SOURCE_DIR@/ci/linux-@OPTION:arch@.cross-file"
- - '@THIS_SOURCE_DIR@'
- environ:
- CFLAGS: '-Wno-error=maybe-uninitialized'
- CXXFLAGS: '-Wno-error=maybe-uninitialized'
- build:
- - args: ['ninja']
- - args: ['ninja', 'install']
- environ:
- DESTDIR: '@THIS_COLLECT_DIR@'
- quiet: true
-
- - name: mlibc-static
- architecture: '@OPTION:arch@'
- from_source: mlibc
- pkgs_required:
- - linux-headers
- configure:
- - args:
- - 'meson'
- - 'setup'
- - '--prefix=/usr'
- - '--libdir=lib'
- - '--buildtype=debugoptimized'
- - "-Dc_args=['-Wno-error=maybe-uninitialized']"
- - "-Dcpp_args=['-Wno-error=maybe-uninitialized']"
- - "-Dbuild_tests=true"
- - "-Db_sanitize=undefined"
- - "-Ddefault_library=static"
- - "-Dwerror=true"
- - '-Dlinux_kernel_headers=@BUILD_ROOT@/packages/linux-headers/usr/include'
- - "--cross-file=@THIS_SOURCE_DIR@/ci/linux-@OPTION:arch@.cross-file"
- - '@THIS_SOURCE_DIR@'
- build:
- - args: ['ninja']
- - args: ['ninja', 'install']
- environ:
- DESTDIR: '@THIS_COLLECT_DIR@'
- quiet: true
-
- - name: mlibc-shared
- from_source: mlibc
- pkgs_required:
- - linux-headers
- configure:
- - args:
- - 'meson'
- - 'setup'
- - '--prefix=/usr'
- - '--libdir=lib'
- - '--buildtype=debugoptimized'
- - "-Dc_args=['-Wno-error=maybe-uninitialized']"
- - "-Dcpp_args=['-Wno-error=maybe-uninitialized']"
- - "-Dbuild_tests=true"
- - "-Db_sanitize=undefined"
- - "-Ddefault_library=shared"
- - "-Dwerror=true"
- - '-Dlinux_kernel_headers=@BUILD_ROOT@/packages/linux-headers/usr/include'
- - "--cross-file=@THIS_SOURCE_DIR@/ci/linux-@OPTION:arch@.cross-file"
- - '@THIS_SOURCE_DIR@'
- build:
- - args: ['ninja']
- - args: ['ninja', 'install']
- environ:
- DESTDIR: '@THIS_COLLECT_DIR@'
- quiet: true
-
- - name: mlibc-ansi-only
- architecture: '@OPTION:arch@'
- from_source: mlibc
- pkgs_required:
- - linux-headers
- configure:
- - args:
- - 'meson'
- - 'setup'
- - '--prefix=/usr'
- - '--libdir=lib'
- - '--buildtype=debugoptimized'
- - "-Dc_args=['-Wno-error=maybe-uninitialized']"
- - "-Dcpp_args=['-Wno-error=maybe-uninitialized']"
- - "-Dbuild_tests=true"
- - "-Db_sanitize=undefined"
- - "-Ddefault_library=both"
- - "-Dwerror=true"
- - "-Ddisable_posix_option=true"
- - "-Ddisable_linux_option=true"
- - "-Ddisable_glibc_option=true"
- - "-Ddisable_bsd_option=true"
- - '-Dlinux_kernel_headers=@BUILD_ROOT@/packages/linux-headers/usr/include'
- - "--cross-file=@THIS_SOURCE_DIR@/ci/linux-@OPTION:arch@.cross-file"
- - '@THIS_SOURCE_DIR@'
- build:
- - args: ['ninja']
- - args: ['ninja', 'install']
- environ:
- DESTDIR: '@THIS_COLLECT_DIR@'
- quiet: true
-
- - name: mlibc-headers-only
- architecture: '@OPTION:arch@'
- from_source: mlibc
- pkgs_required:
- - linux-headers
- configure:
- - args:
- - 'meson'
- - 'setup'
- - '--prefix=/usr'
- - '--libdir=lib'
- - '--buildtype=debugoptimized'
- - "-Dc_args=['-Wno-error=maybe-uninitialized']"
- - "-Dcpp_args=['-Wno-error=maybe-uninitialized']"
- - "-Db_sanitize=undefined"
- - "-Dwerror=true"
- - "-Dheaders_only=true"
- - '-Dlinux_kernel_headers=@BUILD_ROOT@/packages/linux-headers/usr/include'
- - "--cross-file=@THIS_SOURCE_DIR@/ci/linux-@OPTION:arch@.cross-file"
- - '@THIS_SOURCE_DIR@'
- build:
- - args: ['ninja']
- - args: ['ninja', 'install']
- environ:
- DESTDIR: '@THIS_COLLECT_DIR@'
- quiet: true
-
- - name: linux-headers
- architecture: '@OPTION:arch@'
- from_source: linux
- configure:
- # custom build system requires in tree-ish builds
- - args: ['cp', '-Tr', '@THIS_SOURCE_DIR@/', '.']
- build:
- - args: |
- LINUX_ARCH="@OPTION:arch@"
- case "$LINUX_ARCH" in
- "aarch64")
- LINUX_ARCH="arm64"
- ;;
- "riscv64")
- LINUX_ARCH="riscv"
- ;;
- esac
- make O=@THIS_COLLECT_DIR@ ARCH="$LINUX_ARCH" headers_install
diff --git a/lib/mlibc/ci/dripos.cross-file b/lib/mlibc/ci/dripos.cross-file
deleted file mode 100644
index 6a79be9..0000000
--- a/lib/mlibc/ci/dripos.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'dripos'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/ironclad.cross-file b/lib/mlibc/ci/ironclad.cross-file
deleted file mode 100644
index f016592..0000000
--- a/lib/mlibc/ci/ironclad.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'ironclad'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/keyronex.cross-file b/lib/mlibc/ci/keyronex.cross-file
deleted file mode 100644
index d77a540..0000000
--- a/lib/mlibc/ci/keyronex.cross-file
+++ /dev/null
@@ -1,9 +0,0 @@
-[binaries]
-c = ['x86_64-linux-mlibc-gcc']
-cpp = ['x86_64-linux-mlibc-g++']
-
-[host_machine]
-system = 'keyronex'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/lemon.cross-file b/lib/mlibc/ci/lemon.cross-file
deleted file mode 100644
index 23dcf7e..0000000
--- a/lib/mlibc/ci/lemon.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'lemon'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/linux-aarch64.cross-file b/lib/mlibc/ci/linux-aarch64.cross-file
deleted file mode 100644
index f1843ae..0000000
--- a/lib/mlibc/ci/linux-aarch64.cross-file
+++ /dev/null
@@ -1,13 +0,0 @@
-[properties]
-skip_sanity_check = true
-
-[binaries]
-c = ['aarch64-linux-mlibc-gcc']
-cpp = ['aarch64-linux-mlibc-g++']
-exe_wrapper = 'qemu-aarch64'
-
-[host_machine]
-system = 'linux'
-cpu_family = 'aarch64'
-cpu = 'unknown'
-endian = 'little'
diff --git a/lib/mlibc/ci/linux-riscv64.cross-file b/lib/mlibc/ci/linux-riscv64.cross-file
deleted file mode 100644
index 283eaf2..0000000
--- a/lib/mlibc/ci/linux-riscv64.cross-file
+++ /dev/null
@@ -1,13 +0,0 @@
-[properties]
-skip_sanity_check = true
-
-[binaries]
-c = ['riscv64-linux-mlibc-gcc']
-cpp = ['riscv64-linux-mlibc-g++']
-exe_wrapper = 'qemu-riscv64'
-
-[host_machine]
-system = 'linux'
-cpu_family = 'riscv64'
-cpu = 'unknown'
-endian = 'little'
diff --git a/lib/mlibc/ci/linux-x86.cross-file b/lib/mlibc/ci/linux-x86.cross-file
deleted file mode 100644
index edad985..0000000
--- a/lib/mlibc/ci/linux-x86.cross-file
+++ /dev/null
@@ -1,10 +0,0 @@
-[binaries]
-c = 'i686-linux-mlibc-gcc'
-cpp = 'i686-linux-mlibc-g++'
-exe_wrapper = 'qemu-i386'
-
-[host_machine]
-system = 'linux'
-cpu_family = 'x86'
-cpu = 'i386'
-endian = 'little'
diff --git a/lib/mlibc/ci/linux-x86_64.cross-file b/lib/mlibc/ci/linux-x86_64.cross-file
deleted file mode 100644
index fdf2b2d..0000000
--- a/lib/mlibc/ci/linux-x86_64.cross-file
+++ /dev/null
@@ -1,9 +0,0 @@
-[binaries]
-c = ['x86_64-linux-mlibc-gcc']
-cpp = ['x86_64-linux-mlibc-g++']
-
-[host_machine]
-system = 'linux'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/lyre.cross-file b/lib/mlibc/ci/lyre.cross-file
deleted file mode 100644
index 1d4cd70..0000000
--- a/lib/mlibc/ci/lyre.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'lyre'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'
diff --git a/lib/mlibc/ci/managarm.cross-file b/lib/mlibc/ci/managarm.cross-file
deleted file mode 100644
index 0e1d48f..0000000
--- a/lib/mlibc/ci/managarm.cross-file
+++ /dev/null
@@ -1,12 +0,0 @@
-[binaries]
-c = 'x86_64-linux-mlibc-gcc'
-cpp = 'x86_64-linux-mlibc-g++'
-
-[properties]
-needs_exe_wrapper = true
-
-[host_machine]
-system = 'managarm'
-cpu_family = 'x86_64'
-cpu = 'x86_64'
-endian = 'little'