e2c30bd438
* 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]
16 lines
530 B
Bash
Executable File
16 lines
530 B
Bash
Executable File
#!/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)
|