Lines Matching +full:mipsel +full:- +full:debian +full:- +full:cross +full:- +full:container

3 # Re-generate container recipes
7 # https://gitlab.com/libvirt/libvirt-ci
13 # the top-level directory.
28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool")
30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir]
63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n"
66 def generate_dockerfile(host, target, project="qemu", cross=None, trailer=None): argument
69 if cross is not None:
70 cmd.extend(["--cross", cross])
82 filename = Path(src_dir, ".gitlab-ci.d", "cirrus", target + ".vars")
83 cmd = lcitool_cmd + ["variables", "--format", "shell", target, "qemu"]
89 cmd = lcitool_cmd + ["variables", "--format", "json", target, "qemu"]
94 filename = Path(src_dir, "scripts", "ci", "setup", os, f"{target}-{arch}.yaml")
95 cmd = lcitool_cmd + ["variables", "--format", "yaml", "-a",
106 " apt install -y --no-install-recommends \\\n",
109 " linux-headers-generic\n",
113 " ./configure --no-drivers --no-apps \\\n",
114 " --kernel-dir=$(ls -d /usr/src/linux-headers-*-$(dpkg --print-architecture)) \\\n",
116 "ENV QEMU_CONFIGURE_OPTS --enable-netmap\n"
121 "RUN dnf install -y wget\n",
123 "ENV RUSTC=/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc\n",
124 "RUN set -eux && \\\n",
125 " rustArch='x86_64-unknown-linux-gnu' && \\\n",
127 ' url="https://static.rust-lang.org/rustup/archive/1.27.1/${rustArch}/rustup-init" && \\\n',
129 ' echo "${rustupSha256} *rustup-init" | sha256sum -c - && \\\n',
130 " chmod +x rustup-init && \\\n",
131 …" ./rustup-init -y --no-modify-path --profile default --default-toolchain nightly --default-host …
132 " chmod -R a+w $RUSTUP_HOME $CARGO_HOME && \\\n",
133 " /usr/local/cargo/bin/rustup --version && \\\n",
134 " /usr/local/cargo/bin/rustup run nightly rustc --version && \\\n",
137 'RUN /usr/local/cargo/bin/rustup run nightly cargo install bindgen-cli\n',
144 " apt install -y --no-install-recommends cargo\n",
145 'RUN cargo install bindgen-cli\n',
149 conf = "ENV QEMU_CONFIGURE_OPTS --cross-prefix=%s\n" % (prefix)
162 generate_dockerfile("alpine", "alpine-319")
163 generate_dockerfile("centos9", "centos-stream-9")
164 generate_dockerfile("debian", "debian-12",
166 generate_dockerfile("fedora", "fedora-40")
167 generate_dockerfile("opensuse-leap", "opensuse-leap-15")
168 generate_dockerfile("ubuntu2204", "ubuntu-2204",
172 # Non-fatal Rust-enabled build
174 generate_dockerfile("fedora-rust-nightly", "fedora-40",
178 # Cross compiling builds
180 generate_dockerfile("debian-amd64-cross", "debian-12",
181 cross="x86_64",
182 trailer=cross_build("x86_64-linux-gnu-",
183 "x86_64-softmmu,"
184 "x86_64-linux-user,"
185 "i386-softmmu,i386-linux-user"))
187 generate_dockerfile("debian-arm64-cross", "debian-12",
188 cross="aarch64",
189 trailer=cross_build("aarch64-linux-gnu-",
190 "aarch64-softmmu,aarch64-linux-user"))
192 generate_dockerfile("debian-armhf-cross", "debian-12",
193 cross="armv7l",
194 trailer=cross_build("arm-linux-gnueabihf-",
195 "arm-softmmu,arm-linux-user"))
197 generate_dockerfile("debian-i686-cross", "debian-12",
198 cross="i686",
199 trailer=cross_build("i686-linux-gnu-",
200 "x86_64-softmmu,"
201 "x86_64-linux-user,"
202 "i386-softmmu,i386-linux-user"))
204 generate_dockerfile("debian-mips64el-cross", "debian-12",
205 cross="mips64el",
206 trailer=cross_build("mips64el-linux-gnuabi64-",
207 "mips64el-softmmu,mips64el-linux-user"))
209 generate_dockerfile("debian-mipsel-cross", "debian-12",
210 cross="mipsel",
211 trailer=cross_build("mipsel-linux-gnu-",
212 "mipsel-softmmu,mipsel-linux-user"))
214 generate_dockerfile("debian-ppc64el-cross", "debian-12",
215 cross="ppc64le",
216 trailer=cross_build("powerpc64le-linux-gnu-",
217 "ppc64-softmmu,ppc64-linux-user"))
219 generate_dockerfile("debian-riscv64-cross", "debian-sid",
220 project="qemu-minimal",
221 cross="riscv64",
222 trailer=cross_build("riscv64-linux-gnu-",
223 "riscv64-softmmu,riscv64-linux-user"))
225 generate_dockerfile("debian-s390x-cross", "debian-12",
226 cross="s390x",
227 trailer=cross_build("s390x-linux-gnu-",
228 "s390x-softmmu,s390x-linux-user"))
230 generate_dockerfile("fedora-win64-cross", "fedora-40",
231 project='qemu,qemu-win-installer',
232 cross="mingw64",
233 trailer=cross_build("x86_64-w64-mingw32-",
234 "x86_64-softmmu"))
239 generate_cirrus("freebsd-14")
240 generate_cirrus("macos-14")
245 generate_pkglist("freebsd", "freebsd-14")
250 generate_yaml("ubuntu", "ubuntu-2204", "aarch64")
251 generate_yaml("ubuntu", "ubuntu-2204", "s390x")