Skip to content

Instantly share code, notes, and snippets.

View awenocur's full-sized avatar

Adam Wenocur awenocur

  • Philadelphia
View GitHub Profile
@awenocur
awenocur / clang-7.0.1-r2.ebuild
Created February 16, 2019 16:59
Clang ebuild with fake revision for adding debug symbols and macros
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
# (needed due to CMAKE_BUILD_TYPE != Gentoo)
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
@awenocur
awenocur / rocm-opencl-runtime-2.0.0.ebuild
Created February 16, 2019 16:57
modified ebuild for ROCm OpenCL runtime to enable debug symbols and macros
# Copyright
#
EAPI=6
inherit cmake-utils eapi7-ver
DESCRIPTION="ROCm OpenCL Runtime"
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/"
SRC_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-2.0.0.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz
@awenocur
awenocur / llvm-roc-2.0.0.ebuild
Created February 16, 2019 16:54
modified LLVM for ROCm ebuild to enable debug symbols and macros
# Copyright
#
EAPI=7
DESCRIPTION="ROCm llvm,lld,clang"
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm/"
SRC_URI="https://github.com/RadeonOpenCompute/llvm/archive/roc-2.0.0.tar.gz -> llvm-roc-2.0.0.tar.gz
https://github.com/RadeonOpenCompute/clang/archive/roc-2.0.0.tar.gz -> clang-roc-2.0.0.tar.gz
https://github.com/RadeonOpenCompute/lld/archive/roc-2.0.0.tar.gz -> lld-roc-2.0.0.tar.gz"