e2d8ccad4b
* adding pandas and pytest to rquirements.txt * setting up requrements.txt * Update requirements - formatting packages - remove packages not directly used by rocprofiler-sdk * Update cmake formatting, linting, and options - if BUILD_CI -> force BUILD_DEVELOPER and BUILD_WERROR - support python installed clang-format and python installed clang-tidy * Update build.sh - split into install-deps.sh and install-apt-deps.sh * Improve code coverage --------- Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
16 строки
530 B
Bash
Исполняемый файл
16 строки
530 B
Bash
Исполняемый файл
#!/bin/bash
|
|
|
|
SCRIPT_PATH=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)
|
|
ROCPROFILER_SDK_PATH="$(cd ${SCRIPT_PATH}/../.. && pwd)"
|
|
|
|
${SCRIPT_PATH}/install-deps.sh
|
|
|
|
echo -e "Redirecting to location: $ROCPROFILER_SDK_PATH"
|
|
cd ${ROCPROFILER_SDK_PATH}
|
|
|
|
echo -e "Configuring rocprofiler-sdk: ${ROCPROFILER_SDK_PATH}/build"
|
|
cmake -B build -DROCPROFILER_BUILD_{CI,TESTS,SAMPLES}=ON -DROCPROFILER_ENABLE_CLANG_TIDY=ON "${@}"
|
|
|
|
echo -e "Building rocprofiler-sdk: ${ROCPROFILER_SDK_PATH}/build"
|
|
cmake --build build --target all --parallel $(nproc)
|