Skip to content
stage the upgrade of hcc-clang to clang ToT
Branch: clang_tot_upgr…
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 [CodeComplete] Update python tests after r360042 May 6, 2019
cmake Use LTO capable linker Jun 5, 2019
docs AST Matchers tutorial requests to enable clang-tools-extra. NFC Jun 7, 2019
examples [PragmaHandler] Expose `#pragma` location May 21, 2019
include Merge remote-tracking branch 'upstream/amd-common' into HEAD Jun 12, 2019
lib
runtime [GWP-ASan] Mutex implementation [2]. May 30, 2019
test Merge remote-tracking branch 'upstream/amd-common' into HEAD Jun 14, 2019
tools Merge remote-tracking branch 'upstream/amd-common' into HEAD Jun 14, 2019
unittests [test] Reinstate the assignment to the diagnostic log in the unittest Jun 12, 2019
utils [analyzer] exploded-graph-rewriter: Add the missing license header! Jun 5, 2019
www [Analyzer] Checker for non-determinism caused by iteration of unorder… May 24, 2019
.arcconfig correct file modes Apr 20, 2018
.clang-format correct file modes Apr 20, 2018
.clang-tidy Disable tidy checks with too many hits Feb 1, 2019
.gitignore Adjust documentation for git migration. Jan 29, 2019
CMakeLists.txt Merge remote-tracking branch 'upstream/amd-common' into HEAD Mar 26, 2019
CODE_OWNERS.TXT Add myself as code owner for OpenBSD driver Nov 30, 2018
INSTALL.txt correct file modes Apr 20, 2018
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers Jan 21, 2019
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 [NFC] Test commit Jun 12, 2019

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
You can’t perform that action at this time.