Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249760 Details for
Bug 304903
new ebuild for ati-stream-sdk-2.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixed ebuild
ati-stream-sdk-bin-2.2.ebuild (text/plain), 2.33 KB, created by
J. M. Gottfried
on 2010-10-06 15:44:48 UTC
(
hide
)
Description:
fixed ebuild
Filename:
MIME Type:
Creator:
J. M. Gottfried
Created:
2010-10-06 15:44:48 UTC
Size:
2.33 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" >inherit eutils > >DESCRIPTION="Enable compiling code and loading it on ATI/AMD GPU" >HOMEPAGE="http://developer.amd.com/GPU/ATISTREAMSDK/Pages/default.aspx" >SRC_URI="http://developer.amd.com/Downloads/ati-stream-sdk-v${PV}-lnx64.tgz" > ># alternatively individual files, but the amd64 package contains both ># (saves some space for digest) ># >#BASE_URI="http://developer.amd.com/Downloads/ati-stream-sdk-v${PV}" >#SRC_URI="amd64? ( ${BASE_URI}-lnx64.tgz ) ># x86? ( ${BASE_URI}-lnx32.tgz )" > >LICENSE="AMD GPL-1 as-is" >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="examples doc" >RESTRICT="strip fetch" >RDEPEND="examples? ( media-libs/glew )" > >src_install() { > local DEST=/opt/${PF} > insinto ${DEST} > > cd ati-stream-sdk-v${PV}-lnx64 || die > > # Install executables > insopts -m0755 > doins -r bin > > # Install libraries > > doins -r lib > > # There should be something like eselect opencl, to switch > # between OpenCL implementations > # we use relative symlinks here, as portage recommends > > if use amd64; then > dosym ../..${DEST}/lib/x86_64/libOpenCL.so /usr/lib64/ > dosym ../..${DEST}/lib/x86/libOpenCL.so /usr/lib32/ > dosym ../..${DEST}/lib/x86/libatiocl32.so /usr/lib32/ > dosym ../..${DEST}/lib/x86_64/libatiocl64.so /usr/lib64/ > else > dosym ../..${DEST}/lib/x86/libOpenCL.so /usr/lib/ > dosym ../..${DEST}/lib/x86/libatiocl32.so /usr/lib/ > fi > > # Install includes > # only selected header; not glew > insinto ${DEST}/include > insopts -m0644 > doins include/cal*.h > doins -r include/CL > doins -r include/GL > > # Install examples & docs > if use examples; then > insinto ${DEST} > doins -r samples > doins -r make > fi > > if use doc; then > insinto ${DEST} > doins -r docs > fi > > # Create icd files; we COULD use the tar file from > # ATI's homepage, yet this seems so unnessecary as > # those files are VERY simple. > dodir /etc/OpenCL/vendors > > if use amd64; then > echo "libatiocl64.so" > ${D}/etc/OpenCL/vendors/atiocl64.icd > fi > echo "libatiocl32.so" > ${D}/etc/OpenCL/vendors/atiocl32.icd > > chmod 644 "${D}/etc/OpenCL/vendors/atiocl??.icd" > > # Create env file > echo "ATISTREAMSDKROOT=${DEST}" > 99${PN} > doenvd 99${PN} > > # issue info about gpu computing > elog "REMEMBER: You need to install a recent version of ati-drivers to use your GPU for calculations." >}
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 304903
:
219465
|
244461
|
249760
|
249938
|
272449