All Projects → RadeonOpenCompute → hcc-clang-upgrade

RadeonOpenCompute / hcc-clang-upgrade

Licence: other
stage the upgrade of hcc-clang to clang ToT

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language
HTML
75241 projects
Objective-C++
1391 projects
python
139335 projects - #7 most used programming language

ToT HCC Clang

This repository hosts ToT HCC Clang which is synchronized with upstream Clang.

Branches

  • master : holds production-ready codes

  • upstream : holds commits from upstream clang The branch always have the latest vanilla clang.

  • clang_tot_upgrade : holds hcc-specific codes Developments are always conducted here.

  • release_YYWW : release branches for week WW year YY Periodically release branches would be created to merge all latest commits upstream and develop branch. Once tested, it would be promoted to master.

How to Build It

This is how I build it now. The commands assumes:

  • ROCm stack is already installed
  • ROCm-Device-Libs is built, and installed at ~/hcc/ROCm-Device-Libs/build/dist
  • N is the number of threads available for make
git clone --recursive -b clang_tot_upgrade [email protected]:RadeonOpenCompute/hcc.git hcc_upstream
mkdir build_upstream
cd build_upstream
cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DHSA_AMDGPU_GPU_TARGET=gfx803 \
    -DROCM_DEVICE_LIB_DIR=~/hcc/ROCm-Device-Libs/build/dist/lib \
    ../hcc_upstream
make -jN world
make -jN
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].