Install Custom Platform - Install Custom Platform - 2024.2 English - UG1742

Vitis Release Notes And Installation Guide (UG1742)

Document_ID
UG1742
Release_Date
2025-03-17
Version
2024.2 English
To install additional custom platforms, follow the steps below.

Installation with Environment Variable

  1. Extract the platform package:

    If the platform package is delivered as a ZIP file, extract it to a suitable location.

  2. Set the environment variable:
    Define the PLATFORM_REPO_PATHS environment variable to point to the extracted directory path before launching Vitis tools. For example, in a Bash terminal:
    export PLATFORM_REPO_PATHS=<Platform_Path>

This setting applies to both the v++ command-line tool and the Vitis Unified IDE.

Adding Platforms in Vitis Unified IDE

  1. Extract the platform package:

    If the platform package is delivered as a ZIP file, extract it to a suitable location.

  2. Set the environment variable:
    Define the PLATFORM_REPO_PATHS environment variable to point to the extracted directory path before launching Vitis tools. For example, in a Bash terminal:
    export PLATFORM_REPO_PATHS=<Platform_Path>

Batch Mode with Vitis Python API

For batch operations, use the Vitis Python API to add custom platform repositories programmatically:
client.add_platform_repos(platform=["/platform/path"])

This method is particularly useful for automation and python script-based workflows.