stage the upgrade of hcc-clang to clang ToT
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
INPUTS correct file modes Apr 20, 2018
bindings Portable Python script across version Dec 3, 2018
cmake [Driver] Support XRay on Fuchsia Nov 22, 2018
docs Stop stripping comments from AST matcher example code. Dec 11, 2018
examples Test commit - delete trailing space. Nov 19, 2018
include Merge remote-tracking branch 'upstream/amd-common' into HEAD Dec 13, 2018
lib Merge remote-tracking branch 'upstream/amd-common' into HEAD Dec 13, 2018
runtime [CMake] Make bootstrap and compiler-rt depend on cxx-headers. Jun 28, 2018
test Merge remote-tracking branch 'upstream/amd-common' into HEAD Dec 13, 2018
tools Merge remote-tracking branch 'upstream/amd-common' into HEAD Dec 13, 2018
unittests Add explicit dependency on clangSerialization for a bunch of componen… Dec 12, 2018
utils NFC: Make this test kinder on downstream forks Dec 4, 2018
www [constexpr][c++2a] Try-catch blocks in constexpr functions Dec 10, 2018
.arcconfig correct file modes Apr 20, 2018
.clang-format correct file modes Apr 20, 2018
.clang-tidy correct file modes Apr 20, 2018
.gitignore NFC: Add .vscode to .gitignore Dec 3, 2018
CMakeLists.txt Merge remote-tracking branch 'upstream/amd-common' into HEAD Dec 3, 2018
CODE_OWNERS.TXT Add myself as code owner for OpenBSD driver Nov 30, 2018
INSTALL.txt correct file modes Apr 20, 2018
LICENSE.TXT Update copyright year to 2018. Jun 18, 2018
ModuleInfo.txt correct file modes Apr 20, 2018
NOTES.txt PTH-- Remove feature entirely- Dec 4, 2018
README.md Merge remote-tracking branch 'upstream/amd-common' into HEAD Jan 12, 2018
README.txt correct file modes Apr 20, 2018

README.md

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 git@github.com: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