https://github.com/glop102/glop-rocm-compile-script
my personal script to compile rocm
https://github.com/glop102/glop-rocm-compile-script
Last synced: 7 months ago
JSON representation
my personal script to compile rocm
- Host: GitHub
- URL: https://github.com/glop102/glop-rocm-compile-script
- Owner: glop102
- Created: 2023-07-30T22:28:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-30T22:36:27.000Z (over 2 years ago)
- Last Synced: 2025-02-09T21:13:54.887Z (9 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rocm Compile Script
This is tested on gentoo on July 20th, 2023 with rocm 5.5.1
Steps:
1. git clone --recurse-submodules https://github.com/glop102/glop-rocm-compile-script.git
2. cd rocm
3. ../repo sync # this will grab all the source files
4. cd ..
5. Edit the env.sh file as you see fit
6. ./build.sh # and then hope and pray. A couple steps in the build script have comments that might help you fix any problems you run into
To use the enviroment once built, then add it to your path, eg
> export PATH=/opt/rocm/bin:/opt/rocm/llvm/bin:/opt/rocm/hip:$PATH
> export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH