Files
Gopesh Bhardwaj e2c30bd438 adding pandas and pytest to rquirements.txt (#748)
* 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>

[ROCm/rocprofiler-sdk commit: e2d8ccad4b]
2024-04-09 07:24:40 -05:00

16 řádky
530 B
Bash
Spustitelný soubor

#!/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)