PawseySC / rocm-from-source

Scripts to build AMD ROCm from source.
MIT License
15 stars 3 forks source link

[Feature] Automatic detection of suitable tools and libraries #5

Open dipietrantonio opened 2 years ago

dipietrantonio commented 2 years ago

It would be ideal to offer the option of avoiding compiling dependencies, such as libx11 or cmake >= 3.21, when they are already present on the system.

Implement a way to detect the presence of suitable software to avoid building certain dependencies.

dipietrantonio commented 2 years ago

I did this for CMake, need to implement something similar for the libraries.

EDIT: I wil try to use the following

$ whereis libX11.so.
libX11.so: /usr/lib/x86_64-linux-gnu/libX11.so.6