1 |
xarthisius 12/10/02 06:43:43 |
2 |
|
3 |
Modified: metadata.xml intel-ocl-sdk-2.0.31360.ebuild |
4 |
ChangeLog |
5 |
Log: |
6 |
Add use flag for installing ioc64 |
7 |
|
8 |
(Portage version: 2.2.0_alpha133/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-util/intel-ocl-sdk/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 4 Feb 2012 11:17:33 -0000 1.1 |
24 |
+++ metadata.xml 2 Oct 2012 06:43:43 -0000 1.2 |
25 |
@@ -5,4 +5,7 @@ |
26 |
<email>xarthisius@g.o</email> |
27 |
<name>Kacper Kowalik</name> |
28 |
</maintainer> |
29 |
+ <use> |
30 |
+ <flag name='tools'>Install Intel Offline Compiler</flag> |
31 |
+ </use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.2 dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild?rev=1.2&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild?rev=1.2&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild?r1=1.1&r2=1.2 |
41 |
|
42 |
Index: intel-ocl-sdk-2.0.31360.ebuild |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v |
45 |
retrieving revision 1.1 |
46 |
retrieving revision 1.2 |
47 |
diff -u -r1.1 -r1.2 |
48 |
--- intel-ocl-sdk-2.0.31360.ebuild 2 Oct 2012 05:48:24 -0000 1.1 |
49 |
+++ intel-ocl-sdk-2.0.31360.ebuild 2 Oct 2012 06:43:43 -0000 1.2 |
50 |
@@ -1,6 +1,6 @@ |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v 1.1 2012/10/02 05:48:24 xarthisius Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v 1.2 2012/10/02 06:43:43 xarthisius Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
|
58 |
@@ -8,21 +8,25 @@ |
59 |
|
60 |
inherit rpm multilib |
61 |
|
62 |
-INTEL_CL=/usr/$(get_libdir)/OpenCL/vendors/intel/ |
63 |
+INTEL_CL=usr/$(get_libdir)/OpenCL/vendors/intel/ |
64 |
|
65 |
DESCRIPTION="Intel's implementation of the OpenCL standard optimized for Intel processors." |
66 |
HOMEPAGE="http://software.intel.com/en-us/articles/opencl-sdk/" |
67 |
SRC_URI="http://registrationcenter.intel.com/irc_nas/2563/intel_sdk_for_ocl_applications_2012_x64.tgz" |
68 |
+ |
69 |
LICENSE="Intel-SDP" |
70 |
SLOT="0" |
71 |
-IUSE="" |
72 |
+IUSE="tools" |
73 |
KEYWORDS="~amd64 -x86" |
74 |
|
75 |
-#sys-devel/clang |
76 |
-#dev-libs/boost:1.46 |
77 |
RDEPEND="app-admin/eselect-opencl |
78 |
dev-cpp/tbb |
79 |
- sys-process/numactl" |
80 |
+ sys-process/numactl |
81 |
+ tools? ( |
82 |
+ dev-libs/boost:1.46 |
83 |
+ sys-devel/llvm |
84 |
+ >=virtual/jre-1.6 |
85 |
+ )" |
86 |
DEPEND="" |
87 |
|
88 |
RESTRICT="mirror" |
89 |
@@ -38,19 +42,36 @@ |
90 |
rpm_unpack ./${MY_P}.rpm |
91 |
} |
92 |
|
93 |
+src_prepare() { |
94 |
+ # Remove unnecessary and bundled stuff |
95 |
+ rm -rf ${INTEL_CL}/{docs,version.txt,llc} |
96 |
+ rm -f ${INTEL_CL}/libboost* |
97 |
+ rm -f ${INTEL_CL}/libtbb* |
98 |
+ if ! use tools; then |
99 |
+ rm -rf usr/bin |
100 |
+ rm -f ${INTEL_CL}/{ioc64,ioc.jar} |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
src_install() { |
105 |
- doins -r etc usr/bin |
106 |
- # things that are left out: llc, ioc |
107 |
+ doins -r etc |
108 |
+ |
109 |
insinto ${INTEL_CL} |
110 |
doins -r usr/include |
111 |
|
112 |
insopts -m 755 |
113 |
- newins usr/lib64/libOpenCL.so libOpenCL.so.1 |
114 |
+ newins usr/$(get_libdir)/libOpenCL.so libOpenCL.so.1 |
115 |
dosym libOpenCL.so.1 ${INTEL_CL}/libOpenCL.so |
116 |
- pushd usr/lib64/OpenCL/vendors/intel &> /dev/null |
117 |
- rm -f libboost* libtbb* |
118 |
- doins *.so *rtl *pch |
119 |
- popd &> /dev/null |
120 |
+ |
121 |
+ doins ${INTEL_CL}/* |
122 |
+ |
123 |
+ # Think of better way to do that... |
124 |
+ if use tools; then |
125 |
+ dosym /usr/$(get_libdir)/libboost_filesystem-1_46.so.1.46.1 \ |
126 |
+ ${INTEL_CL}/libboost_filesystem.so.1.46.1 |
127 |
+ dosym /usr/$(get_libdir)/libboost_system-1_46.so.1.46.1 \ |
128 |
+ ${INTEL_CL}/libboost_system.so.1.46.1 |
129 |
+ fi |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
|
134 |
|
135 |
|
136 |
1.5 dev-util/intel-ocl-sdk/ChangeLog |
137 |
|
138 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog?rev=1.5&view=markup |
139 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog?rev=1.5&content-type=text/plain |
140 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog?r1=1.4&r2=1.5 |
141 |
|
142 |
Index: ChangeLog |
143 |
=================================================================== |
144 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v |
145 |
retrieving revision 1.4 |
146 |
retrieving revision 1.5 |
147 |
diff -u -r1.4 -r1.5 |
148 |
--- ChangeLog 2 Oct 2012 05:48:24 -0000 1.4 |
149 |
+++ ChangeLog 2 Oct 2012 06:43:43 -0000 1.5 |
150 |
@@ -1,6 +1,10 @@ |
151 |
# ChangeLog for dev-util/intel-ocl-sdk |
152 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
153 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.4 2012/10/02 05:48:24 xarthisius Exp $ |
154 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.5 2012/10/02 06:43:43 xarthisius Exp $ |
155 |
+ |
156 |
+ 02 Oct 2012; Kacper Kowalik <xarthisius@g.o> |
157 |
+ intel-ocl-sdk-2.0.31360.ebuild, metadata.xml: |
158 |
+ Add use flag for installing ioc64 |
159 |
|
160 |
*intel-ocl-sdk-2.0.31360 (02 Oct 2012) |