| Requirement | Details |
|---|---|
| OS | Ubuntu 20.04+ (or compatible Linux) |
| CMake | >= 3.6 |
| C++ Compiler | GCC or Clang with C++11 support |
| URM Core (Libs and Headers) | Needs to be Built and installed first (discussed next) |
The extensions depend on the URM core libraries and headers. Follow the instructions at: URM-Build
After this step, the following must be available on your system:
git clone https://github.com/qualcomm/userspace-resource-manager-extensions
cd userspace-resource-manager-extensions
# Create a clean build directory
rm -rf build && mkdir build && cd build
# Configure with CMake
cmake .. -DCMAKE_INSTALL_PREFIX=/
# Build
cmake --build .
The CMake build compiles all .cpp files under Extensions/ into a single shared library:
| Output | Description |
|---|---|
| UrmPlugin.so | The extension plugin loaded by URM at startup |
sudo cmake --install .
| Source | Installed To | Permissions |
|---|---|---|
| UrmPlugin.so | /usr/lib/urm/ | Standard library |
| Configs/*.yaml | /etc/urm/target/ | 644 |
| Configs/target-specific/qcm6490/ | /etc/urm/target/qcm6490/ | 644 |
| Configs/target-specific/qcs8300/ | /etc/urm/target/qcs8300/ | 644 |
| Configs/target-specific/qcs9100/ | /etc/urm/target/qcs9100/ | 644 |
| initscripts/post_boot/*.sh | /etc/urm/initscripts/post_boot/ | 755 |
Note:
From the Build Directory, simply run the executable:
sudo ./urm