Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/libmctp/tests/fuzz/
H A Dfuzz-build.py2 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5 # Beware this will wipe build directories.
12 # * -O0, with coverage
18 BASE_MESONFLAGS = "-Dwarning_level=2 -Ddefault_library=static --wipe".split()
19 FUZZ_PROGRAMS = ["tests/fuzz/i2c-fuzz"]
22 def build( function
36 # Meson sets CC="ccache cc" by default, but ccache removes -fprofile-arcs
42 meson_cmd += [f"-Doptimization={opt}"]
46 ninja_cmd = ["ninja", "-C", build_dir] + FUZZ_PROGRAMS
52 # seems to be required for afl-clang-lto?
[all …]
/openbmc/linux/samples/bpf/
H A DREADME.rst4 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.
13 Build dependencies
17 * clang
24 command: ``llc --version``
27 -----------------------
32 make -C tools clean
33 make -C samples/bpf clean
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
8 # List of programs to build
9 tprogs-y := test_lru_dist
10 tprogs-y += sock_example
11 tprogs-y += fds_example
12 tprogs-y += sockex1
13 tprogs-y += sockex2
14 tprogs-y += sockex3
15 tprogs-y += tracex1
16 tprogs-y += tracex2
[all …]
/openbmc/openbmc/meta-arm/
H A D.gitlab-ci.yml10 # The default machine tag for the build jobs
26 - prep
27 - build
32 - $DEFAULT_TAG
33 stage: build
37 KAS_BUILD_DIR: $KAS_WORK_DIR/build
46 - echo KAS_WORK_DIR = $KAS_WORK_DIR
47 - echo SSTATE_DIR = $SSTATE_DIR
48 - echo DL_DIR = $DL_DIR
49 - rm -rf $KAS_WORK_DIR
[all …]
/openbmc/libpldm/scripts/
H A Dapply-renames3 set -eou pipefail
5 # Path to the meson build directory
6 : "${BUILD:=build}"
8 ABSPATH="$(command -v "$0" | xargs realpath)"
11 : "${LIBPLDM_ROOT:="${ABSPATH%scripts/apply-renames}"}"
13 # Deal with clang including its version in all the tool names
15 : "${CLANG_RENAME:="$(command -v clang-rename-"${CLANG_VERSION}")"}"
16 : "${CLANG_APPLY_REPLACEMENTS:="$(command -v clang-apply-replacements-"${CLANG_VERSION}")"}"
21 # Allow clang-rename to pick up the per-file flags from the compile command
23 : "${CRFLAGS:="-p=."}"
[all …]
/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/libpldm/tests/fuzz/
H A Dfuzz-build.py2 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
5 # Beware this will wipe build directories.
12 # * -O0, with coverage
18 BASE_MESONFLAGS = "-Dwarning_level=2 -Ddefault_library=static --wipe".split()
19 FUZZ_PROGRAMS = ["tests/fuzz/fd-fuzz"]
22 def build( function
36 # Meson sets CC="ccache cc" by default, but ccache removes -fprofile-arcs
42 meson_cmd += [f"-Doptimization={opt}"]
46 ninja_cmd = ["ninja", "-C", build_dir] + FUZZ_PROGRAMS
52 # seems to be required for afl-clang-lto?
[all …]
/openbmc/linux/Documentation/kbuild/
H A Dllvm.rst4 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/poky/meta/recipes-gnome/libgudev/libgudev/
H A D0001-meson-Pass-export-dynamic-option-to-linker.patch3 Date: Tue, 16 Jan 2024 12:02:46 -0800
4 Subject: [PATCH] meson: Pass --export-dynamic option to linker
8 to translate it into --export-dynamic but clang 18+ rejects it
10 | x86_64-yoe-linux-clang: error: unknown argument: '-export-dynamic'
14 This makes it work as intended across gcc and clang
16 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/30]
17 [1] https://discourse.llvm.org/t/clang-option-export-dynamic-parse-to-e-xport-dynamic-error/72454
18 Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 ---
20 gudev/meson.build | 2 +-
[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/openbmc-build-scripts/scripts/
H A Dbuild-unit-test-docker3 # Build the required docker image to run package unit tests
7 # default is openbmc/ubuntu-unit-test
8 # DISTRO: <optional, the distro to build a docker image against>
9 # FORCE_DOCKER_BUILD: <optional, a non-zero value with force all Docker
13 # BRANCH: <optional, branch to build from each of the openbmc/
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.
79 # build_type [required]: Build type used for package.
89 # before config / build / install.
[all …]
H A Dunit-test.py189 if path[-1] == name:
199 from_name = path[-1]
204 Return post-order list of node names.
217 Print pre-order node names with indentation denoting node depth level.
276 cmd = ["make", "-n", target]
287 "-j",
290 "-l",
293 "-O",
309 check_call_cmd("sudo", "-n", "-
591 def build(self): global() member in BuildSystem
724 def build(self): global() member in Autotools
778 def build(self): global() member in CMake
973 def build(self): global() member in Meson
[all...]
/openbmc/linux/samples/hid/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
8 # List of programs to build
9 tprogs-y += hid_mouse
10 tprogs-y += hid_surface_dial
22 hid_mouse-objs := hid_mouse.o
23 hid_surface_dial-objs := hid_surface_dial.o
25 # Tell kbuild to always build the programs
26 always-y := $(tprogs-y)
29 # Strip all except -D__LINUX_ARM_ARCH__ option needed to handle linux
31 ARM_ARCH_SELECTOR := $(filter -D__LINUX_ARM_ARCH__%, $(KBUILD_CFLAGS))
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/files/
H A D0001-meson-Run-atomics-test-on-clang-as-well.patch3 Date: Sat, 12 Oct 2019 17:46:26 -0700
4 Subject: [PATCH] meson: Run atomics test on clang as well
7 ./glib-2.62.1/glib/gatomic.c:675:2: error: G_ATOMIC_LOCK_FREE defined, but incapable of lock-free a…
10 Upstream-Status: Pending
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 ---
13 meson.build | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/meson.build b/meson.build
18 --- a/meson.build
[all …]
/openbmc/qemu/tests/docker/
H A Dtest-fuzz1 #!/bin/bash -e
3 # Compile and check with oss-fuzz.
10 # SPDX-License-Identifier: GPL-2.0-or-later
14 requires_binary clang
16 # the build script runs out of $src so we need to copy across
18 cp -a $QEMU_SRC .
20 mkdir build-oss-fuzz
21 export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt
22 env CC="clang" CXX="clang++" CFLAGS="-fsanitize=address" ./scripts/oss-fuzz/build.sh
24 for fuzzer in $(find ./build-oss-fuzz/DEST_DIR/ -executable -type f | grep -v slirp); do
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/perfetto/
H A Dperfetto.bb1 LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
12 # Dependencies from perfetto/tools/install-build-deps
15 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;de…
16 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https…
17 …git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https…
18 …m/libbase.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libbase;name=libbase \
19 …unwinding.git;branch=master;protocol=https;destsuffix=git/buildtools/android-unwinding;name=unwind…
20 …m/logging.git;branch=master;protocol=https;destsuffix=git/buildtools/android-logging;name=logging \
21 …bprocinfo.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libprocinfo;name=libp…
22 …orm/system/core.git;branch=master;protocol=https;destsuffix=git/buildtools/android-core;name=core \
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-matplotlib_3.7.2.bb4 publication-quality figures in a variety of hardcopy formats \
8 LICENSE = "PSF-2.0"
17 python3-numpy-native \
18 python3-pip-native \
19 python3-dateutil-native \
20 python3-pytz-native \
21 python3-certifi-native \
22 python3-setuptools-scm-native \
23 python3-pybind11-native \
31 SRC_URI += "file://matplotlib-disable-download.patch \
[all …]
/openbmc/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-s390x.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 22.04"
5 ubuntu-22.04-s390x-all-linux:
8 stage: build
10 - ubuntu_22.04
11 - s390x
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$S390X_RUNNER_AVAILABLE"
16 - mkdir build
[all …]
H A Dubuntu-22.04-aarch64.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 22.04"
5 ubuntu-22.04-aarch64-all-linux-static:
8 stage: build
10 - ubuntu_22.04
11 - aarch64
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$AARCH64_RUNNER_AVAILABLE"
16 - mkdir build
[all …]
/openbmc/linux/lib/
H A DKconfig.kmsan1 # SPDX-License-Identifier: GPL-2.0-only
6 # Clang versions <14.0.0 also support -fsanitize=kernel-memory, but not
7 # all the features necessary to build the kernel with KMSAN.
9 def_bool $(cc-option,-fsanitize=kernel-memory -mllvm -msan-disable-checks=1)
21 instrumentation provided by Clang and thus requires Clang to build.
27 See <file:Documentation/dev-tools/kmsan.rst> for more details.
32 # -fsanitize-memory-param-retval is supported only by Clang >= 14.
34 def_bool $(cc-option,-fsanitize=kernel-memory -fsanitize-memory-param-retval)
41 If the compiler supports -fsanitize-memory-param-retval, KMSAN will
48 may potentially report errors in corner cases when non-instrumented
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/
H A Dlibatomic.patch4 Subject: [PATCH] link libatomic for clang conditionally
6 Clang emits atomic builtin, explicitly link libatomic conditionally:
7 - For target build, always link -latomic for clang as usual
8 - For host build, if host and target have same bit width, cross compiling
9 is enabled, and host toolchain is gcc which does not link -latomic;
11 host build is the same with target build that requires to link
12 -latomic;
15 |tmp-glibc/work/core2-64-wrs-linux/nodejs/20.13.0/node-v20.13.0/out/Release/node_js2c: error while …
17 Upstream-Status: Inappropriate [OE specific]
19 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[all …]
/openbmc/qemu/scripts/oss-fuzz/
H A Dbuild.sh1 #!/bin/bash -e
3 # OSS-Fuzz build script. See:
4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh
7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles
10 # the COPYING file in the top-level directory.
13 # build project
17 # make -j$(nproc) all
19 # build fuzzers
21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \
22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \
[all …]
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/
H A D0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch2 From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
3 Date: Fri, 26 Jul 2019 17:34:26 -0400
4 Subject: [PATCH 2/4] BaseTools: makefile: adjust to build in under bitbake
6 Prepend the build flags with those of bitbake. This is to build
10 the recipe already does lots of similar in-place fixups elsewhere, so
12 to fight against how upstream wants to configure the build.
14 Signed-off-by: Ricardo Neri <ricardo.neri@linux.intel.com>
15 Upstream-Status: Inappropriate [needs to be converted to in-recipe fixups]
16 ---
17 BaseTools/Source/C/Makefiles/header.makefile | 15 +++++++--------
[all …]
/openbmc/linux/tools/build/feature/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 test-all.bin \
6 test-backtrace.bin \
7 test-bionic.bin \
8 test-dwarf.bin \
9 test-dwarf_getlocations.bin \
10 test-eventfd.bin \
11 test-fortify-source.bin \
12 test-get_current_dir_name.bin \
13 test-glibc.bin \
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D857.patch4 Subject: [PATCH] Update SConstruct with new Python3 syntax: - new raise
5 keyword syntax - has_key deprecated method is now removed - commands
6 deprecated library is replaced by subprocess - print function fixes
9 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947584
10 ---
11 Upstream-Status: Pending
13 SConstruct | 45 +++++++++++++++++++++++----------------------
14 1 file changed, 23 insertions(+), 22 deletions(-)
16 diff --git a/SConstruct b/SConstruct
18 --- a/SConstruct
[all …]

12345678910>>...12