1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/sysutils/roct/Makefile
Johannes M Dieterich 0b9475cf6c new ports: sysutils/rocr and sysutils/roct
roct is the ROC thunk interface  and rocr is the ROCm platform runtime.
Together these form the userspace partners to the amdkfd compute driver.
Hence, in the current absence of a working amdkfd on FreeBSD, these ports do
not function yet. They are integrated to facilitate integration of amdkfd and
test it as part of the LinuxKPI-based DRM.

Note that these ports are for the time being based off my forks with FreeBSD
bringup bits, I'll work with the corresponding upstream teams to get patches
reviewed and integrated.

Limit these ports to amd64, as even our upstream does not support anything but
that for the time being.

Version numbers correspond to the overall ROCm release, currently 1.9.1.
2018-11-19 04:05:31 +00:00

34 lines
846 B
Makefile

# Created by: Johannes Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= roct
PORTVERSION= 1.9.1
CATEGORIES= sysutils
MAINTAINER= jmd@FreeBSD.org
COMMENT= Radeon Open Compute Thunk Interface
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
ONLY_FOR_ARCHS= amd64
LIB_DEPENDS= libpci.so:devel/libpci
USES= cmake:outsource pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= iotamudelta
GH_PROJECT= ROCT-Thunk-Interface
GH_TAGNAME= 9d1fb76
post-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/include/roct
${MKDIR} ${STAGEDIR}/${PREFIX}/include/roct/linux
${INSTALL_DATA} ${WRKSRC}/include/hsakmt.h ${STAGEDIR}/${PREFIX}/include/roct/.
${INSTALL_DATA} ${WRKSRC}/include/hsakmttypes.h ${STAGEDIR}/${PREFIX}/include/roct/.
${INSTALL_DATA} ${WRKSRC}/include/linux/kfd_ioctl.h ${STAGEDIR}/${PREFIX}/include/roct/linux/.
.include <bsd.port.mk>