"Fossies" - the Fresh Open Source Software Archive

Member "darktable-2.6.3/src/external/rawspeed/lnt/README.rst" (19 Oct 2019, 2251 Bytes) of package /linux/misc/darktable-2.6.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

LLVM LNT / Test-Suite Integration

Recommended reading materials

Prerequisites

Getting it done

# Get external dependencies.
git clone https://github.com/llvm/llvm-lnt.git /build/lnt
git clone https://github.com/llvm/llvm-test-suite.git /build/test-suite
# 'Add' RawSpeed into test-suite.
ln -s /home/lebedevri/rawspeed/lnt /build/test-suite/RawSpeed
# Prepare 'chroot'.
export SANDBOX=/tmp/mysandbox
export BUILDSANDBOX=/tmp/mybuildsandbox
export PERFDB=/tmp/myperfdb
virtualenv $SANDBOX
# Setup 'chroot'.
$SANDBOX/bin/python /build/lnt/setup.py develop
$SANDBOX/bin/lnt create $PERFDB
# Benchmarking time!
$SANDBOX/bin/lnt runtest test_suite --test-suite /build/test-suite \
    --sandbox $BUILDSANDBOX \
    --cc clang --cxx clang++ \
    --cmake-define CMAKE_BUILD_TYPE=Release \
    --cmake-define TEST_SUITE_SUBDIRS="RawSpeed" \
    [--benchmarking-only] \
    [--use-perf profile] \
    --build-threads 8 --threads 1 \
    --submit $PERFDB
# View results.
$SANDBOX/bin/lnt runserver $PERFDB

See also