Home
last modified time | relevance | path

Searched +full:- +full:dcmake_build_type (Results 1 – 25 of 37) sorted by relevance

12

/src/contrib/libcbor/.circleci/
H A Dconfig.yml4 linux-setup:
6 - run: sudo apt-get update
8 - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake ${TOOLCHAIN_PACKAGES}
9 - run: sudo NEEDRESTART_MODE=l apt-get install -y libcmocka-dev libcjson-dev
10 build-with-cmocka-from-source:
13 - run: git clone https://git.cryptomilk.org/projects/cmocka.git ~/cmocka
14 - run: >
15 cd $(mktemp -d /tmp/build.XXXX) &&
19 - run: >
20 cmake -DWITH_TESTS=ON \
[all …]
/src/contrib/libfido2/.actions/
H A Dfuzz-linux1 #!/bin/sh -eux
3 # Copyright (c) 2020-2022 Yubico AB. All rights reserved.
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
13 OPENSSL_TAG="openssl-3.0.12"
18 FIDO2_ASAN="address bounds fuzzer-no-link implicit-conversion leak"
19 FIDO2_ASAN="${FIDO2_ASAN} pointer-compare pointer-subtract undefined"
20 FIDO2_MSAN="fuzzer-no-link memory"
21 COMMON_CFLAGS="-g2 -fno-omit-frame-pointer"
22 COMMON_CFLAGS="${COMMON_CFLAGS} -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
[all …]
H A Dbuild-linux-gcc1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 ${CC} --version
12 mkdir build-$T
13 (cd build-$T && cmake -DCMAKE_BUILD_TYPE=$T ..)
14 make -j"$(nproc)" -C build-$T
15 make -C build-$T regress
16 sudo make -C build-$T install
20 [ -x "$(which update-alternatives)" ] && {
[all …]
H A Dbuild-linux-clang1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 ${CC} --version
9 SCAN=scan-build${CC#clang}
16 mkdir build-$T
17 (cd build-$T && ${SCAN} --use-cc="${CC}" cmake -DCMAKE_BUILD_TYPE=$T ..)
18 ${SCAN} --use-cc="${CC}" --status-bugs make -j"$(nproc)" -C build-$T
19 make -C build-$T regress
20 sudo make -C build-$T install
H A Dbuild-osx-clang1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 export PKG_CONFIG_PATH="$(brew --prefix openssl@3.0)/lib/pkgconfig"
9 SCAN="$(brew --prefix llvm)/bin/scan-build"
13 mkdir build-$T
14 (cd build-$T && ${SCAN} cmake -DCMAKE_BUILD_TYPE=$T ..)
15 ${SCAN} --status-bugs make -j"$(sysctl -n hw.ncpu)" -C build-$T
16 make -C build-$T man_symlink_html
17 make -C build-$T regress
[all …]
H A Dbuild-linux-openssl3-gcc1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 ${CC} --version
9 FAKEROOT="$(mktemp -d)"
12 git clone --branch openssl-3.0.12 \
13 --depth=1 https://github.com/openssl/openssl
15 ./Configure linux-x86_64 --prefix="${FAKEROOT}" \
16 --openssldir="${FAKEROOT}/openssl" --libdir=lib
22 mkdir build-$T
[all …]
H A Dbuild-linux-openssl3-clang1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 ${CC} --version
9 SCAN=scan-build${CC#clang}
10 FAKEROOT="$(mktemp -d)"
16 git clone --branch openssl-3.0.12 \
17 --depth=1 https://github.com/openssl/openssl
19 ./Configure linux-x86_64-clang --prefix="${FAKEROOT}" \
20 --openssldir="${FAKEROOT}/openssl" --libdir=lib
[all …]
H A Dbuild-linux-openssl3-i686-w64-mingw32-gcc1 #!/bin/sh -eux
3 # Copyright (c) 2022-2023 Yubico AB. All rights reserved.
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 # XXX defining CC and cross-compiling confuses OpenSSL's build.
16 SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
17 SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
18 SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
26 git clone --depth=1 https://github.com/pjk/libcbor -b v0.10.1
29 (cd build && cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/mingw.cmake \
[all …]
H A Dbuild-linux-i686-w64-mingw32-gcc1 #!/bin/sh -eux
3 # Copyright (c) 2022-2023 Yubico AB. All rights reserved.
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
8 # XXX defining CC and cross-compiling confuses OpenSSL's build.
16 SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
17 SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
18 SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
26 git clone --depth=1 https://github.com/pjk/libcbor -b v0.10.1
29 (cd build && cmake -DCMAKE_TOOLCHAIN_FILE=/tmp/mingw.cmake \
[all …]
H A Dbuild-bsd1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
11 trap '[ -f "${LOGFILE}" ] && cat -- "${LOGFILE}"' EXIT
14 cat > "${MANIFEST}" <<- EOF
17 - cmake
18 - llvm
19 - pcsc-lite
24 cat >> "${MANIFEST}" <<- EOF
25 - libcbor
[all …]
/src/contrib/libder/
H A D.cirrus.yml3 - name: FreeBSD 13
5 image: freebsd-13-2-release-amd64
6 - name: FreeBSD 14
8 image: freebsd-14-0-release-amd64-ufs
10 sudo pkg install -y cmake
12 - cmake -B build -DCMAKE_BUILD_TYPE=Debug
14 make -C build
16 make -C build check
/src/usr.bin/bsdiff/bsdiff/
H A DMakefile4 # cmake -DCMAKE_BUILD_TYPE="Release" -DBUILD_DIVSUFSORT64=ON
6 CFLAGS+= -DHAVE_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
7 CFLAGS+= -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
8 CFLAGS+= -D__STDC_LIMIT_MACROS -DBUILD_DIVSUFSORT64
9 CFLAGS+= -I${SRCTOP}/contrib/libdivsufsort/include -I${.CURDIR}
/src/contrib/libcbor/
H A D.cirrus.yml3 - ASSUME_ALWAYS_YES=yes pkg bootstrap -f && pkg install -y cmocka cmake ninja
5 - mkdir build
6 - cd build
7 - cmake -GNinja -DWITH_TESTS=ON
8 -DCMAKE_BUILD_TYPE=Debug
9 -DSANITIZE=OFF
11 - ninja -j $(sysctl -n hw.ncpu)
13 - cd build
14 - ctest -VV
16 # From gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
[all …]
H A DBUILD27 "cmake -DCMAKE_BUILD_TYPE=Release .",
28 "cmake --build .",
30 "cp -R src/* $$INITIAL_WD/$(RULEDIR)",
H A Drelease.sh6 set -e
16 # http://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within
18 OUTDIR=$(mktemp -d)
20 BRANCH_NAME="release-$1"
25 git checkout -b "$BRANCH_NAME"
27 git commit -a -m "Bump version to $1"
28 git log -2
32 grep -A 10 -F "$1" CHANGELOG.md || true
40 grep -A 2 'set(CBOR_VERSION_MAJOR' CMakeLists.txt
44 grep -A 2 'CBOR_MAJOR_VERSION' examples/bazel/third_party/libcbor/cbor/configuration.h
[all …]
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh7 # Script compiles self-contained object file with symbolization code.
10 # libraries to symbolize code/data in-process.
14 # want to be doing "ld -r" followed by "objcopy -G" to create a relocatable
16 # present, see https://github.com/llvm/llvm-project/issues/30098.
18 set -x
19 set -e
20 set -u
23 SRC_DIR=$(readlink -f $SCRIPT_DIR/..)
25 if [[ $# -ne 1 ]]; then
30 OUTPUT=$(readlink -f $1)
[all …]
/src/contrib/libder/.github/workflows/
H A Dbuild.yml14 runs-on: ${{ matrix.os }}
17 os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
19 - os: ubuntu-20.04
20 - os: ubuntu-22.04
21 - os: macos-latest
23 - name: checkout
25 - name: install system packages (Ubuntu)
28 sudo apt-get update --quiet || true
29 sudo apt-get -yq --no-install-suggests --no-install-recommends install cmake
30 - name: install system packages (macOS)
[all …]
/src/contrib/libfido2/fuzz/
H A Dbuild-coverage1 #!/bin/sh -eux
4 # Use of this source code is governed by a BSD-style
6 # SPDX-License-Identifier: BSD-2-Clause
11 CC="${CC:-clang}"
12 CXX="${CXX:-clang++}"
13 PKG_CONFIG_PATH="${PKG_CONFIG_PATH:-${LIBCBOR}/install/lib/pkgconfig}"
17 rm -rf "${LIBCBOR}/build" "${LIBCBOR}/install" "${LIBFIDO2}/build"
20 (cd "${LIBCBOR}" && patch -N -l -s -p0 < "${LIBFIDO2}/fuzz/README") || true
22 (cd "${LIBCBOR}/build" && cmake -DBUILD_SHARED_LIBS=ON \
23 -DCMAKE_INSTALL_PREFIX="${LIBCBOR}/install" ..)
[all …]
/src/contrib/libcbor/doc/source/
H A Dgetting_started.rst4 Pre-built Linux packages are available in most mainstream distributions
8 .. code-block:: bash
10 apt-get install libcbor-dev
14 .. code-block:: bash
16 yum install libcbor-devel
21 .. code-block:: bash
28 ------------------------------
31 - C99 compiler
32- CMake_ 2.8 or newer (might also be called ``cmakesetup``, ``cmake-gui`` or ``ccmake`` depending …
33 - C build system CMake can target (make, Apple Xcode, MinGW, ...)
[all …]
H A Dtests.rst5 --------------
12 ------------------------
14 Every release is tested for memory correctness. You can run these tests by passing the ``-T memchec…
16 … be configured with ``-DCMAKE_BUILD_TYPE=Debug`` to obtain meaningful description of location of t…
20 -------------------
22 … using `GCOV/LCOV <http://ltp.sourceforge.net/coverage/lcov.php>`_. Platform-independent code shou…
24 .. code-block:: bash
31 .. code-block:: bash
33 lcov --capture --directory . --output-file coverage.info
34 genhtml coverage.info --output-directory out
[all …]
/src/contrib/llvm-project/lld/docs/MachO/
H A Dindex.rst1 Mach-O LLD Port
4 LLD is a linker from the LLVM project that is a drop-in replacement
7 will describe the Mach-O port.
10 --------
12 - LLD is a drop-in replacement for Apple's Mach-O linker, ld64, that accepts the
15 - LLD is very fast. When you link a large program on a multicore
20 --------
22 LLD is available as a pre-built binary by going to the `latest release <https://github.com/llvm/llv…
23 downloading the appropriate bundle (``clang+llvm-<version>-<your architecture>-<your platform>.tar.…
29 -----
[all …]
/src/contrib/libfido2/windows/
H A Dcygwin.ps12 # Use of this source code is governed by a BSD-style
4 # SPDX-License-Identifier: BSD-2-Clause
16 $Setup = 'setup-x86_64.exe'
18 $Packages = 'gcc-core,pkg-config,cmake,make,libcbor-devel,libssl-devel,zlib-devel'
25 $GPG = $(Get-Command gpg -ErrorAction Ignore | `
26 Select-Object -ExpandProperty Source)
30 if (-Not (Test-Path $GPG)) {
34 Write-Host "Config: $Config"
35 Write-Host "GPG: $GPG"
38 New-Item -Type Directory "${Cygwin}" -Force
[all …]
/src/contrib/libdivsufsort/
H A DREADME.md6 * 2015-03-21: The project has moved from [Google Code](http://code.google.com/p/libdivsufsort/) to …
9 …PI to construct a suffix array and a Burrows-Wheeler transformed string from a given string over a…
10 The algorithm runs in O(n log n) worst-case time using only 5n+O(1) bytes of memory space, where n …
16 * CMake-supported build tool
22 git clone https://github.com/y-256/libdivsufsort.git
32 If you want to install to a different location, change the -DCMAKE_INSTALL_PREFIX option.
34 $ cmake -DCMAKE_BUILD_TYPE="Release" \
35 -DCMAKE_INSTALL_PREFIX="/usr/local" ..
55 * @param T[0..n-1] The input string.
56 * @param SA[0..n-1] The output array or suffixes.
[all …]
/src/contrib/ntp/sntp/libevent/cmake/
H A DCodeCoverage.cmake2 # Boost Software License - Version 1.0 - August 17th, 2003
8 # Software, and to permit third-parties to whom the Software is furnished to
15 # works are solely in the form of machine-executable object code generated by
20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
26 # 2012-01-31, Lars Bilke
27 # - Enable Code Coverage
29 # 2013-09-17, Joakim Söderberg
30 # - Added support for Clang.
31 # - Some additional usage instructions.
33 # 2016-11-02, Azat Khuzhin
[all …]
/src/contrib/libevent/cmake/
H A DCodeCoverage.cmake2 # Boost Software License - Version 1.0 - August 17th, 2003
8 # Software, and to permit third-parties to whom the Software is furnished to
15 # works are solely in the form of machine-executable object code generated by
20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
26 # 2012-01-31, Lars Bilke
27 # - Enable Code Coverage
29 # 2013-09-17, Joakim Söderberg
30 # - Added support for Clang.
31 # - Some additional usage instructions.
33 # 2016-11-02, Azat Khuzhin
[all …]

12