Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 575338 Details for
Bug 580076
app-eselect/eselect-opencl-1.1.0-r4: uncatched cp: cannot stat '...' during install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
eselect-opencl-1.1.0-r5.ebuild
file_580076.txt (text/plain), 1.56 KB, created by
delete me
on 2019-05-05 17:21:53 UTC
(
hide
)
Description:
eselect-opencl-1.1.0-r5.ebuild
Filename:
MIME Type:
Creator:
delete me
Created:
2019-05-05 17:21:53 UTC
Size:
1.56 KB
patch
obsolete
>--- eselect-opencl-1.1.0-r4.ebuild 2019-05-05 09:24:18.120714599 -0700 >+++ eselect-opencl-1.1.0-r5.ebuild 2019-05-05 10:12:58.689123636 -0700 >@@ -1,9 +1,7 @@ >-# Copyright 1999-2018 Gentoo Foundation >+# Copyright 1999-2019 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > >-EAPI=5 >- >-inherit multilib >+EAPI=7 > > DESCRIPTION="Utility to change the OpenCL implementation being used" > HOMEPAGE="https://www.gentoo.org/" >@@ -34,7 +32,7 @@ > IUSE="" > > DEPEND="app-arch/xz-utils" >-RDEPEND=">=app-admin/eselect-1.2.4" >+RDEPEND="app-admin/eselect" > > pkg_postinst() { > local impl="$(eselect opencl show)" >@@ -54,12 +52,16 @@ > for CL_ABI in 1.0 1.1 1.2 2.0 2.1; do > mkdir -p "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}" > for f in ${headers[@]}; do >- cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" > /dev/null >+ # cl_egl.h is missing in OpenCL 1.0 and 1.1 >+ if [[ $f = "cl_egl.h" && $CL_ABI = "1.0" || $CL_ABI = "1.1" ]]; then >+ continue >+ fi >+ cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" &> /dev/null > done > done > > for i in 1.1 1.2 2.1; do >- cp "${WORKDIR}"/$i/cl.hpp "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/" >+ cp "${WORKDIR}"/$i/cl.hpp "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/" &> /dev/null > done > # Create symlinks to newest. Maybe this should be switchable? > for f in ${headers[@]}; do
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 580076
:
430612
|
431298
| 575338