/openbmc/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.clang | 1 The biggest problem when trying to compile U-Boot with clang is that 2 almost all archs rely on storing gd in a global register and clang user 3 manual states: "clang does not support global register variables; this 20 -------------- 22 sudo apt-get install clang 25 CROSS_COMPILE. To compile U-Boot with clang on linux without IAS use e.g.: 26 make HOSTCC=clang rpi_2_defconfig 27 make HOSTCC=clang CROSS_COMPILE=arm-linux-gnueabi- \ 28 CC="clang -target arm-linux-gnueabi" -j8 31 make HOSTCC=clang sandbox_defconfig [all …]
|
/openbmc/qemu/ |
H A D | .travis.yml | 5 - gcc 9 # - OS name (currently only linux) 10 # - OS distribution (e.g. "jammy" for Linux) 11 # - Names and values of visible environment variables set in .travis.yml or Settings panel 19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu" 23 …- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K… 30 - SRC_DIR=".." 31 - BUILD_DIR="build" 32 - BASE_CONFIG="--disable-docs --disable-tools" 33 - TEST_BUILD_CMD="" [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | fix-attribute-issue-with-gcc.patch | 1 Upstream-Status: Pending 3 Description: remove clang-ism 4 Forwarded: not-needed 6 --- a/system/core/base/include/android-base/logging.h 7 +++ b/system/core/base/include/android-base/logging.h 8 @@ -451,10 +451,7 @@ 9 // -Wno-user-defined-warnings to CPPFLAGS. 10 #pragma clang diagnostic push 11 #pragma clang diagnostic ignored "-Wgcc-compat" 12 -#define OSTREAM_STRING_POINTER_USAGE_WARNING \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/ |
H A D | fix-attribute-issue-with-gcc.patch | 1 Upstream-Status: Pending 3 Description: remove clang-ism 4 Forwarded: not-needed 6 --- a/system/core/base/include/android-base/logging.h 7 +++ b/system/core/base/include/android-base/logging.h 8 @@ -451,10 +451,7 @@ 9 // -Wno-user-defined-warnings to CPPFLAGS. 10 #pragma clang diagnostic push 11 #pragma clang diagnostic ignored "-Wgcc-compat" 12 -#define OSTREAM_STRING_POINTER_USAGE_WARNING \ [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 7 config-cc.mak: Makefile 8 $(quiet-@)( \ 9 $(call cc-option,-mcpu=power8, CROSS_CC_HAS_CPU_POWER8); \ 10 $(call cc-option,-mpower10, CROSS_CC_HAS_POWER10)) 3> config-cc.mak 12 -include config-cc.mak 14 # multi-threaded tests are known to fail (e.g., clang-user CI job) 15 # See: https://gitlab.com/qemu-project/qemu/-/issues/2456 16 run-signals: signals 17 $(call skip-test, $<, "BROKEN (flaky with clang) ") [all …]
|
/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | alpine.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all alpine-319 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 12 alsa-lib-dev \ 13 attr-dev \ 18 bzip2-dev \ 19 ca-certificates \ 20 capstone-dev \ 22 ceph-dev \ 23 clang \ [all …]
|
H A D | centos9.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all centos-stream-9 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf distro-sync -y && \ 10 dnf install 'dnf-command(config-manager)' -y && \ 11 dnf config-manager --set-enabled -y crb && \ 12 dnf install -y epel-release && \ 13 dnf install -y epel-next-release && \ 14 dnf install -y \ 15 SDL2-devel \ [all …]
|
H A D | opensuse-leap.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all opensuse-leap-15 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN zypper update -y && \ 10 …zypper addrepo -fc https://download.opensuse.org/update/leap/15.6/backports/openSUSE:Backports:SLE… 11 zypper install -y \ 12 Mesa-devel \ 13 alsa-lib-devel \ 17 brlapi-devel \ 19 ca-certificates \ [all …]
|
H A D | fedora.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all fedora-40 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 21 SDL2-devel \ 22 SDL2_image-devel \ 23 alsa-lib-devel \ [all …]
|
H A D | ubuntu2204.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all ubuntu-2204 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 19 ca-certificates \ 21 clang \ 25 exuberant-ctags \ [all …]
|
H A D | debian.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all debian-12 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 7 FROM docker.io/library/debian:12-slim 10 apt-get update && \ 11 apt-get install -y eatmydata && \ 12 eatmydata apt-get dist-upgrade -y && \ 13 eatmydata apt-get install --no-install-recommends -y \ 20 ca-certificates \ 22 clang \ [all …]
|
H A D | fedora-rust-nightly.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all fedora-40 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 21 SDL2-devel \ 22 SDL2_image-devel \ 23 alsa-lib-devel \ [all …]
|
/openbmc/linux/arch/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 20 menu "General architecture-dependent options" 25 Select if the architecture can check permissions at sub-page 71 for kernel debugging, non-intrusive instrumentation and testing. 80 makes certain almost-always-true or almost-always-false branch 83 Certain performance-sensitive kernel code, such as trace points, 97 ( On 32-bit x86, the necessary options added to the compiler 104 Boot time self-test of the branch patching code. 110 Boot time self-test of the call patching code. 130 Uprobes is the user-space counterpart to kprobes: they [all …]
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | certificate.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 8 // clang-format off 38 User, enumerator 79 {CertificateUsageType::User, "User"}, 93 // clang-format on
|
/openbmc/linux/samples/bpf/ |
H A D | README.rst | 4 This directory contains a test stubs, verifier test-suite and examples 7 Note that the XDP-specific samples have been removed from this directory and 8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools 11 in xdp-tools. 17 * clang 24 command: ``llc --version`` 27 ----------------------- 32 make -C tools clean 33 make -C samples/bpf clean 42 -------------- [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | llvm.rst | 4 Building Linux with Clang/LLVM 7 This document covers how to build the Linux kernel with Clang and LLVM 11 ----- 14 such as GCC and binutils. Ongoing work has allowed for `Clang 15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be 18 <https://www.chromium.org/chromium-os>`_, `OpenMandriva 20 <https://chimera-linux.org/>`_ use Clang built kernels. Google's and Meta's 21 datacenter fleets also run kernels built with Clang. 24 objects <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM 26 pronounced "klang," not "see-lang." [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/ |
H A D | kernel-selftest.bb | 3 LICENSE = "GPL-2.0-only" 7 DEPENDS = "rsync-native llvm-native" 10 SRC_URI:append:libc-musl = "\ 13 SRC_URI += "file://run-ptest \ 15 file://0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch \ 23 # bpf needs working clang compiler anyway 24 PACKAGECONFIG:append:toolchain-clang:x86-64 = " bpf" 37 PACKAGECONFIG[bpf] = ",,elfutils elfutils-native libcap libcap-ng rsync-native python3-docutils-nat… 44 inherit linux-kernel-base module-base kernel-arch ptest siteinfo 48 DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" [all …]
|
/openbmc/linux/include/linux/ |
H A D | compiler_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * see https://github.com/rust-lang/rust-bindgen/issues/2244. 18 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */ 31 # define __cond_acquires(x) __attribute__((context(x,0,-1))) 34 # define __release(x) __context__(x,-1) 41 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) 46 # define __user __attribute__((user)) 48 # define __user BTF_TYPE_TAG(user) 69 # define ACCESS_PRIVATE(p, member) ((p)->member) 89 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-cold-function-at… [all …]
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A D | fsgs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Using FS and GS segments in user space applications 10 Segment-register:Byte-address 12 The segment base address is added to the Byte-address to compute the 14 instances of data with the identical Byte-address, i.e. the same code. The 15 selection of a particular instance is purely based on the base-address in 18 In 32-bit mode the CPU provides 6 segments, which also support segment 21 In 64-bit mode the CS/SS/DS/ES segments are ignored and the base address is 23 still functional in 64-bit mode. 26 ------------------------------ [all …]
|
/openbmc/bmcweb/ |
H A D | DEVELOPING.md | 11 - Binaries and static files should take up < 1MB of filesystem size 12 - Memory usage should remain below 10MB at all times 13 - Application startup time should be less than 1 second on target hardware 29 - All buffer boundaries must be checked before indexing or using values 30 - All pointers and iterators must be checked for null before dereferencing 31 - All input from outside the application is considered untrusted, and should be 34 - All error statuses are checked and accounted for in control flow. 35 - Where applicable, noexcept methods should be preferred to methods that use 37 - Explicitly bounded types should be preferred over implicitly bounded types 39 - no use of [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/ |
H A D | khronos-cts.inc | 1 LICENSE = "Apache-2.0" 4 SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ 5 file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ 6 file://0001-use-library-sonames-for-linking.patch \ 7 file://generate-srcuri.py \ 10 SRC_URI:append:libc-musl = "file://fix-musl.patch" 11 SRC_URI:append:toolchain-clang = "file://fix-clang-private-operator.patch" 13 SRCREV_FORMAT = "vk-gl-cts" 17 inherit pkgconfig cmake cmake-qemu features_check python3native 19 UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" [all …]
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | build-unit-test-docker | 7 # default is openbmc/ubuntu-unit-test 9 # FORCE_DOCKER_BUILD: <optional, a non-zero value with force all Docker 35 # typing.Dict is used for type-hints. 61 def __init_subclass__(cls, **kwargs: Any) -> None: 75 # url [optional]: lambda function to create URL: (package, rev) -> url. 105 lambda pkg, rev: f"https://github.com/boostorg/{pkg}/releases/download/{pkg}-{rev}/{pkg}-{rev}-cmake.tar.gz" 111 f" - [all...] |
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_msg.cpp | 11 // clang-format off 25 // clang-format on 30 return part.data.user.data[1] & PARTITION_READONLY; in vpnor_partition_is_readonly() 36 size_t offset = get_u16(&req->msg.args[0]); in vpnor_handle_write_window() 37 offset <<= context->block_size_shift; in vpnor_handle_write_window() 40 const pnor_partition& part = context->vpnor->table->partition(offset); in vpnor_handle_write_window() 43 return -MBOX_R_WINDOW_ERROR; in vpnor_handle_write_window() 53 return -MBOX_R_WINDOW_ERROR; in vpnor_handle_write_window()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | README.rst | 7 __ /Documentation/bpf/bpf_devel_QA.rst#q-how-to-run-bpf-selftests 31 trampoline support on IBM's s390x architecture. For cases like this, an in-tree 45 This last entry helps identify tests that can be re-enabled once such support is 54 would be run post-submit in the CI used by the Maintainers, with the exception 57 This script uses the in-tree kernel configuration and downloads a VM userspace 64 - clang (preferably built from sources, https://github.com/llvm/llvm-project); 65 - pahole (preferably built from sources, https://git.kernel.org/pub/scm/devel/pahole/pahole.git/); 66 - qemu; 67 - docutils (for ``rst2man``); 68 - libcap-devel. [all …]
|