GPUOpen-Tools / radeon_compute_profiler

The Radeon Compute Profiler (RCP) is a performance analysis tool that gathers data from the API run-time and GPU for OpenCL™ and ROCm/HSA applications. This information can be used by developers to discover bottlenecks in the application and to find ways to optimize the application's performance.
MIT License
84 stars 19 forks source link

scons not listed as a dependency, but is required. #7

Closed Mandrewoid closed 6 years ago

Mandrewoid commented 6 years ago

Build/Linux/build_rcp.sh invokes scons, but nowhere is it listed as required. If you start with a clean install of Ubuntu, you will get confusing error that lists "Build arguments passed to scons" but obviously they weren't, if you don't have scons.

Command line arguments passed to build_rcp.sh: RCPROOT=/home/crews/RCP/Build/Linux/../.. =====Building Radeon Compute Profiler======

Building infra projects

Build arguments passed to scons: ========================================== ----------- Start building --------------- Sun Feb 4 10:44:00 EST 2018 ========================================== scons -C /home/crews/RCP/Build/Linux/../../Build/Linux CXL_prefix=/home/crews/RCP/Build/Linux/../../Output CXL_build_type=static ERROR during the build of the 64 bit framework ========================================== (scons -C /home/crews/RCP/Build/Linux/../../Build/Linux CXL_prefix=/home/crews/RCP/Build/Linux/../../Output CXL_arch=x86 CXL_build_type=static ) ERROR during the build of the 32 bit framework ========================================== ----------- End building ----------------- Sun Feb 4 10:44:00 EST 2018 ========================================== ERROR the build failed - see the logs for details

sudo apt-get install scons fixed issue. Should be listed as a prerequisite along with python

chesik-amd commented 6 years ago

Thanks for pointing this out. We will update the list of prerequisites in BUILD.md to include scons.