Home
last modified time | relevance | path

Searched +full:clang +full:- +full:user (Results 1 – 25 of 96) sorted by relevance

1234

/openbmc/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - 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/bmcweb/redfish-core/include/generated/enums/
H A Dcxl_logical_device.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
19 User, enumerator
32 {PassphraseType::User, "User"},
37 // clang-format on
H A Dcertificate.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
8 // clang-format off
20 User, enumerator
62 {CertificateUsageType::User, "User"},
95 // clang-format on
/openbmc/u-boot/doc/
H A DREADME.clang1 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/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dfix-attribute-issue-with-gcc.patch1 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 Dfix-attribute-issue-with-gcc.patch1 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/
H A D.travis.yml5 - 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/qemu/tests/docker/dockerfiles/
H A Dalpine.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all alpine-321 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 Dcentos9.docker1 # 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 Dopensuse-leap.docker1 # 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 Dfedora.docker1 # 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 Dubuntu2204.docker1 # 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 Ddebian.docker1 # 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 Ddebian-legacy-test-cross.docker1 # Docker legacy cross-compiler target (tests and minimal qemu)
6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412
7 # sh4-linux-user: binaries don't run with bookworm compiler
9 # As we are targeting check-tcg here we only need minimal qemu
12 FROM docker.io/library/debian:11-slim
14 # Duplicate deb line as deb-src
15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
18 apt-get update && \
19 apt-get install -y eatmydata && \
20 eatmydata apt-get dist-upgrade -y && \
[all …]
H A Ddebian-loongarch-cross.docker2 # Docker cross-compiler target
5 # https://github.com/loongson/build-tools/releases
7 FROM docker.io/library/debian:11-slim
9 # Duplicate deb line as deb-src
10 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
13 apt-get update && \
14 apt-get install -y eatmydata && \
15 eatmydata apt-get dist-upgrade -y && \
16 apt build-dep -yy qemu
18 RUN apt-get update && \
[all …]
H A Dfedora-rust-nightly.docker1 # 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/qemu/tests/tcg/ppc64/
H A DMakefile.target1 # -*- 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/phosphor-mboxd/vpnor/
H A Dmboxd_msg.cpp11 // 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/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/
H A Dkhronos-cts.inc1 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/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D0001-Correct-clang-compiler-flags.patch3 Date: Fri, 10 Jan 2020 21:54:39 -0800
4 Subject: [PATCH] Correct clang compiler flags
7 Remove demanding libc++, clang can link with both libc++ and libstdc++
8 and platforms have their own defaults, user can demand non defaults via
11 Upstream-Status: Submitted [https://github.com/zaphoyd/websocketpp/pull/859]
12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 ---
14 CMakeLists.txt | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/CMakeLists.txt b/CMakeLists.txt
[all …]
/openbmc/qemu/plugins/
H A Dmeson.build6 input: files('../include/qemu/qemu-plugin.h'),
7 output: 'qemu-plugin.symbols',
9 command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@'])
11 # Modules need more symbols than just those in plugins/qemu-plugins.symbols
16 output: 'qemu-plugins-ld64.symbols',
18 command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@'])
19 emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols']
20 elif host_os == 'windows' and meson.get_compiler('c').get_id() == 'clang'
24 emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()]
36 …command: [python, '-c', 'import fileinput, re; print("EXPORTS", end=""); [print(re.sub(r"[{};]", "…
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/
H A Dkernel-selftest.bb3 LICENSE = "GPL-2.0-only"
7 DEPENDS = "rsync-native llvm-native"
13 SRC_URI:append:libc-musl = "\
16 SRC_URI += "file://run-ptest \
18 file://0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch \
26 # bpf needs working clang compiler anyway
27 PACKAGECONFIG:append:toolchain-clang:x86-64 = " bpf"
40 PACKAGECONFIG[bpf] = ",,elfutils elfutils-native libcap libcap-ng rsync-native python3-docutils-nat…
47 inherit linux-kernel-base module-base kernel-arch ptest siteinfo
51 DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-crypto/libkcapi/
H A Dlibkcapi_1.5.0.bb1 SUMMARY = "Linux Kernel Crypto API User Space Interface Library"
3 LICENSE = "BSD-3-Clause | GPL-2.0-only"
14 PACKAGECONFIG[testapp] = "--enable-kcapi-test,,,bash"
15 PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kc…
16 PACKAGECONFIG[hasher_only] = "--enable-kcapi-hasher --disable-lib-kdf --disable-lib-sym --disable-l…
21 rmdir --ignore-fail-on-non-empty ${D}${bindir}
24 rm -f ${D}${bindir}/.*.hmac
25 rm -f ${D}${libdir}/.*.hmac
28 CPPFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare"
29 CPPFLAGS:remove:libc-musl:toolchain-clang = "-Wno-error=sign-conversion"
[all …]
/openbmc/bmcweb/
H A DDEVELOPING.md11 - 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-build-scripts/scripts/
H A Dbuild-unit-test-docker7 # 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 …g, rev: f"https://github.com/boostorg/{pkg}/releases/download/{pkg}-{rev}/{pkg}-{rev}-cmake.tar.gz"
111 … f" --prefix={prefix} --with-libraries=atomic,context,coroutine,filesystem,process,url"
114 f"./b2 install --prefix={prefix} valgrind=on",
120 build_steps=[f"cp -a include/cereal/ {prefix}/include/"],
143 f"-DARCH={arch_mapping.get(__import__('platform').machine(), 'x64')}",
[all …]

1234