Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225487 Details for
Bug 311657
dev-util/nvidia-cuda-toolkit-3.0: Patch to fix header files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild applying the patch.
nvidia-cuda-toolkit-3.0.ebuild (text/plain), 2.96 KB, created by
Clemens Rabe
on 2010-03-27 20:56:33 UTC
(
hide
)
Description:
Ebuild applying the patch.
Filename:
MIME Type:
Creator:
Clemens Rabe
Created:
2010-03-27 20:56:33 UTC
Size:
2.96 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > >EAPI=2 > >inherit eutils multilib > >DESCRIPTION="NVIDIA CUDA Toolkit" >HOMEPAGE="http://developer.nvidia.com/cuda" > >CUDA_V=${PV//./_} > >BASE_URI="http://developer.download.nvidia.com/compute/cuda/${CUDA_V}/toolkit" >SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${PV}_linux_64_rhel5.3.run ) > x86? ( ${BASE_URI}/cudatoolkit_${PV}_linux_32_rhel5.3.run )" > >LICENSE="NVIDIA" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debugger doc profiler opencl" > >DEPEND="!dev-util/nvidia-cuda-profiler" >RDEPEND="${DEPEND} > >=sys-devel/gcc-4.0 > profiler? ( x86? ( > x11-libs/qt-gui > x11-libs/qt-core > x11-libs/qt-assistant > x11-libs/qt-sql[sqlite] ) > ) > debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )" ># Removed >=sys-devel/binutils-2.20 from RDEPEND >RESTRICT="strip binchecks" > >S="${WORKDIR}" > >src_unpack() { > for f in ${A} ; do > if [ "${f//*.run/}" == "" ]; then > unpack_makeself ${f} > fi > done >} > >src_prepare() { > epatch "${FILESDIR}/${P}-enum_fix.patch" >} > >src_install() { > local DEST=/opt/cuda > > into ${DEST} > dobin bin/* > dolib $(get_libdir)/* > > if ! use debugger; then > rm -f "${D}/${DEST}/bin/cuda-gdb" > fi > > chmod a-x "${D}/${DEST}/bin/nvcc.profile" > > # doman does not respect DESTTREE > insinto ${DEST}/man/man1 > doins man/man1/* > insinto ${DEST}/man/man3 > doins man/man3/* > prepman ${DEST} > > insinto ${DEST}/include > doins -r include/* > > insinto ${DEST}/src > doins src/* > > if use doc ; then > insinto ${DEST}/doc > doins -r doc/* > fi > > cat > "${T}/env" << EOF >PATH=${DEST}/bin >ROOTPATH=${DEST}/bin >LDPATH=${DEST}/$(get_libdir) >MANPATH=${DEST}/man >EOF > newenvd "${T}/env" 99cuda > > if use profiler; then > local targets="cudaprof" > if use opencl; then > targets="${targets} openclprof" > fi > > for target in ${targets}; do > into ${DEST}/${target} > dobin ${taget}/bin/${target} > > cat > "${T}/env" << EOF >PATH=${DEST}/${target}/bin >ROOTPATH=${DEST}/${target}/bin >EOF > if use x86 ; then > dosym /usr/bin/assistant ${DEST}/${target}/bin > else > dobin ${target}/bin/assistant > insinto ${DEST}/${target}/bin > doins ${target}/bin/*.so* > insinto ${DEST}/${target}/bin/sqldrivers > doins ${target}/bin/sqldrivers/* > > cat >> "${T}/env" << EOF >LDPATH=${DEST}/${target}/bin >EOF > fi > > newenvd "${T}/env" 99${target} > > if use doc; then > insinto ${DEST}/${target} > doins ${target}/*.txt > insinto ${DEST}/${target}/doc > doins ${target}/doc/* > insinto ${DEST}/${target}/projects > doins ${target}/projects/* > fi > done > fi > > export CONF_LIBDIR_OVERRIDE="lib" > # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected. > export LIBDIR_amd64="lib" > > into ${DEST}/open64 > dobin open64/bin/* > libopts -m0755 > dolib open64/lib/* >} > >pkg_postinst() { > elog "If you want to natively run the code generated by this version of the" > elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-195.36.15." > elog "" > elog "Run '. /etc/profile' before using the CUDA toolkit. " >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 311657
:
225485
| 225487