Home
last modified time | relevance | path

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

12345678910

/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/openbmc/poky/meta/recipes-devtools/clang/clang/
H A D0032-clangd-Add-a-build-option-to-disable-building-dexp.patch4 Subject: [PATCH] clangd: Add a build option to disable building dexp
8 Adding the CLANGD_BUILD_DEXP option to disable dexp from the build
9 allows Debian 11 users to build clang (albeit without the dexp tool).
11 This option is set to "Build Dexp" by default so, no change is expected
15 [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101322
17 Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/133124]
18 Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
19 Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 ---
21 clang-tools-extra/clangd/CMakeLists.txt | 8 +++++++-
[all …]
H A D0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch4 Subject: [PATCH] llvm/clang: Insert anchor for adding OE distro vendor names
10 recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor()
14 Under Yocto host, while using clang-native to build, it searches
17 |clang++ -target x86_64-linux -MMD -MF src/base/files/file_path_constants.o.d -I../../../tools/gn/…
18 -isystem/tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/recipe-sysroot-native/usr/include -
19 -std=c++17 -c ../../../tools/gn/src/base/files/file_path_constants.cc -o src/base/files/file_path_c…
25 * Set three Yocto based GCC triple: poky, oe-core and wind river
29 $ ../recipe-sysroot-native/usr/bin/clang++ -v
30 clang version 11.0.1 (https://github.com/llvm/llvm-project 43ff75f2c3feef64f9d73328230d34dac8832a91)
31 Target: x86_64-unknown-linux-gnu
[all …]
H A D0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch6 * in some strange multilib configs we build lib32-image where
8 setup the clang search for GCC candidate installation doesn't
12 https://github.com/llvm/llvm-project/commit/621fed5f5a051a0333415aaed75b8f2ed2350dbd
16 find -lgcc, crtbeginS.o, crtendS.o, but still fail to find
17 -lgcc_s, -lc, Scrt1.o, crti.o, crtn.o
19 * fixes lib32-compiler-rt build failure:
21 -- Configuring incomplete, errors occurred!
22 …ke Error at TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/rec…
25BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/…
31 …hange Dir: TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/buil…
[all …]
H A D0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch4 Subject: [PATCH] scan-build-py: respect LLVM_LIBDIR_SUFFIX like other tools do
10 Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/108549]
12 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
13 ---
14 clang/tools/scan-build-py/CMakeLists.txt | 38 ++++++++++++------------
15 1 file changed, 19 insertions(+), 19 deletions(-)
17 diff --git a/clang/tools/scan-build-py/CMakeLists.txt b/clang/tools/scan-build-py/CMakeLists.txt
19 --- a/clang/tools/scan-build-py/CMakeLists.txt
20 +++ b/clang/tools/scan-build-py/CMakeLists.txt
21 @@ -77,52 +77,52 @@ foreach(lib ${LibExecs})
[all …]
H A D0017-clang-Use-python3-in-python-scripts.patch3 Date: Wed, 14 Oct 2020 22:19:57 -0700
4 Subject: [PATCH] clang: Use python3 in python scripts
7 and in OE python symlink is not exposed to build, only python3 is
9 Upstream-Status: Pending
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 ---
12 .../find-all-symbols/tool/run-find-all-symbols.py | 2 +-
13 clang/tools/scan-view/bin/scan-view | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
16--git a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py b/clan…
[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/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/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
38 KAS_BUILD_DIR: $KAS_WORK_DIR/build
48 - rm -rf $KAS_WORK_DIR
49- mkdir --verbose --parents $KAS_WORK_DIR $KAS_REPO_REF_DIR $SSTATE_DIR $DL_DIR $TOOLCHAIN_DIR $TO…
51 # Generalised fragment to do a Kas build
52 .build:
[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/openbmc/poky/meta/recipes-devtools/clang/
H A Dclang_git.bb5 DESCRIPTION = "Clang is an LLVM based C/C++/Objective-C compiler, \
9 level tools. The Clang Static Analyzer and \
10 clang-tidy are tools that automatically find bugs \
12 of tools that can be built using the Clang frontend \
14 HOMEPAGE = "http://clang.llvm.org/"
17 require common-clang.inc
18 require common-source.inc
20 INHIBIT_DEFAULT_DEPS:class-native = "1"
22 LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
23 LDFLAGS:append:class-target:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
[all …]
H A Dcommon.inc1 FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:"
4 file://clang/LICENSE.TXT;md5=${CLANGMD5SUM} \
6 LICENSE = "Apache-2.0-with-LLVM-exception"
10 …SEURI ?= "https://api.github.com/repos/llvm/llvm-project/tarball/${RELEASE};downloadfilename=llvm-
11 #SOURCEDIR ?= "llvm-llvm-project-${@'${RELEASE}'[0:7]}"
16 BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz"
17 UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
18 UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
19 SOURCEDIR ?= "llvm-project-${PV}.src"
24 file://0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch \
[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 …]
H A Dtest-tsan1 #!/bin/bash -e
3 # This test will use TSan as part of a build and a make check.
10 # Originally based on test-quick from Fam Zheng <famz@redhat.com>
14 # the top-level directory.
20 requires_binary clang
21 tsan_log_dir="/tmp/qemu-test/build/tsan"
22 mkdir -p $tsan_log_dir > /dev/null || true
23 EXTRA_CONFIGURE_OPTS="${EXTRA_CONFIGURE_OPTS} --enable-tsan \
24 --cc=clang --cxx=clang++ \
25 --disable-werror --extra-cflags=-O0"
[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/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/
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/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-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/.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/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 …]
/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/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/dbus-sensors/
H A D.gitignore1 build*/
8 !subprojects/.clang-tidy
9 !subprojects/.clang-format
10 !subprojects/.clang-tidy-ignore

12345678910