Architecture licensing
This section describes the steps for setting up licenses for different architectures.
About this task
Licenses specify the compute node architectures with which they can be used.
The licenses issued in early legacy versions of Linaro Forge enabled the x86_64 architecture by default. If you are using other architectures, you are supplied with suitable licenses to enable your architecture.
If you are using multiple license files to specify multiple architectures, Linaro recommends that you follow these steps.
Contact Forge Support if you have any licensing issues.
Procedure
Ensure that the default licenses directory is empty.
Create a directory for each architecture.
When you want to target a specific architecture, set
FORGE_LICENSE_DIR
to the relevant directory. Alternatively, setFORGE_LICENSE_FILE
to specify the license file.
Example
On a site that targets two architectures, x86_64 and AArch64, create a directory for each architecture, and name them licenses_x86_64
and licenses_aarch64
. Then, to target the architectures, set the license directories as follows:
To target AArch64:
export FORGE_LICENSE_DIR=/path/to/licenses/licenses_aarch64
To target x86_64:
export FORGE_LICENSE_DIR=/path/to/licenses/licenses_x86_64