1 |
commit: 36e2a6eb3dcb8f4d62830c2eeccae3c5c680291d |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 1 01:45:53 2017 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 1 01:45:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e2a6eb |
7 |
|
8 |
sys-cluster/ceph: Version bump to 12.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
sys-cluster/ceph/Manifest | 1 + |
13 |
sys-cluster/ceph/ceph-12.2.0.ebuild | 272 +++++++++++++++++++++ |
14 |
...h-12.2.0-fix_two_stray_get_health_callers.patch | 46 ++++ |
15 |
.../ceph-12.2.0-use-provided-cpu-flag-values.patch | 37 +++ |
16 |
sys-cluster/ceph/metadata.xml | 1 + |
17 |
5 files changed, 357 insertions(+) |
18 |
|
19 |
diff --git a/sys-cluster/ceph/Manifest b/sys-cluster/ceph/Manifest |
20 |
index 5f0cc0c6676..ba05389cad1 100644 |
21 |
--- a/sys-cluster/ceph/Manifest |
22 |
+++ b/sys-cluster/ceph/Manifest |
23 |
@@ -3,4 +3,5 @@ DIST ceph-10.2.3.tar.gz 11596171 SHA256 dca933aa14db67b404d836ef510bd418091978ed |
24 |
DIST ceph-10.2.7.tar.gz 14518491 SHA256 2cdfeaa9a08e94c2d35f540b450bbf64b2a694bd537679834185e98fc59d8ba2 SHA512 7e0686e9efa4ddd9d548f4145b448f8232f1ca29b08428daa5cd60a74ce26f1176a1f2ebbf2ac1761d9e6c1d364a5ffa194d2b3a18a8111f59b7c27f7a1d7734 WHIRLPOOL b6b6902230401b5f4c6f27801f315678bdc7b99aab4e50b54d941fc3a425b4f0fa9390484f2e12d6b4f962253fb8772fb706dad35d490b4542b06db166fab59b |
25 |
DIST ceph-10.2.8.tar.gz 14548472 SHA256 f284743b007cbb61fc9849dc2249942886116c2cb2abcd346d2304d52b16eaaa SHA512 1f3bf81bf6745033e034c3c4e4f05db5c39b2e8435da20fc130971559e8fde0d640bf00bfaafb374d24c45f873e7d768ae9d7d8cd3388347f5804c4bfc303f09 WHIRLPOOL a8bf29ff913c08d423beb0fefa792c06a653d8ac00bd698b7f77bbaf4657f0530ad5a43043dabb24308ed5a4e569fec53130a78d78d8eddf16026a942de8cc40 |
26 |
DIST ceph-10.2.9.tar.gz 14550219 SHA256 3d93f4fc4a66b1d9f9ce43f65868dc18287cea32fbb2c7421faca6aed2b52a80 SHA512 1d59146614aa87ca551b05b795a684071a3cfb4ce6013e978ba650403c6732b2aa13f3c3cc191e6a1ea34b4631c82e97700593c24e200c41ec2f2b43b3ef5547 WHIRLPOOL 42215d33c4f617087e1b0ef81cd41b42330c3605acf625b0668d44eba9e982239683b466a1cc1a6f926fc1d439dfd6be4ce220f783da7d2214d36a2a6cc9181f |
27 |
+DIST ceph-12.2.0.tar.gz 148372459 SHA256 0f601a9e28e9ce6837119b3ef0d89e1e44e0432f1f5d55567a947efefdd4d4ce SHA512 e084109c48f5666e35df5ee49262dee36ba5e7620fda30002dec538a87de11bdd21157436b5656557cd909a0943071046f3a17dd679aa1129b88b8b925f73113 WHIRLPOOL 60016eb5a20159bfc74b16c4135055cf8bf68bd868ef897b2455107a1014d4663efd55e6f5977e7d2e29010660a59d6134e3af32922d15dccbae07145c9023ea |
28 |
DIST ceph-9.2.1.tar.gz 9933444 SHA256 1918dfc3df80df5986c5b7ff6bc6c78064eef0f6c5e8269dba30e08c703a7c2f SHA512 1e84c1e2d64f4156a523658ed11552b045f75986922b7b7dbaf4719e73a0a6aadc71eb2b94ae363526f729534a592921a437468a41a3cea88c1b84e09de8505a WHIRLPOOL 3a0eb6712e5b0235707e86129e1d66f1184f50cd4980c30f6d8cc0e7dfd96d30b91177ed16dd7abf2ad4983c6a543eb91915f74f661f7d3e3c810b5b1d656aca |
29 |
|
30 |
diff --git a/sys-cluster/ceph/ceph-12.2.0.ebuild b/sys-cluster/ceph/ceph-12.2.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..86ffb9c4fef |
33 |
--- /dev/null |
34 |
+++ b/sys-cluster/ceph/ceph-12.2.0.ebuild |
35 |
@@ -0,0 +1,272 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
41 |
+DISTUTILS_OPTIONAL=1 |
42 |
+ |
43 |
+inherit check-reqs cmake-utils distutils-r1 python-r1 udev user systemd \ |
44 |
+ readme.gentoo-r1 flag-o-matic |
45 |
+ |
46 |
+if [[ ${PV} == *9999* ]]; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/ceph/ceph.git" |
49 |
+ SRC_URI="" |
50 |
+else |
51 |
+ SRC_URI="https://download.ceph.com/tarballs/${P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
53 |
+fi |
54 |
+ |
55 |
+DESCRIPTION="Ceph distributed filesystem" |
56 |
+HOMEPAGE="https://ceph.com/" |
57 |
+ |
58 |
+LICENSE="LGPL-2.1 CC-BY-SA-1.0 GPL-2 BSD Boost-1.0 MIT" |
59 |
+SLOT="0" |
60 |
+ |
61 |
+CPU_FLAGS_X86=(sse{,2,3,4_1,4_2} ssse3) |
62 |
+ |
63 |
+IUSE="babeltrace cephfs fuse jemalloc ldap lttng +mgr nss +radosgw +ssl" |
64 |
+IUSE+=" static-libs systemd +tcmalloc test xfs zfs" |
65 |
+IUSE+=" $(printf "cpu_flags_x86_%s\n" ${CPU_FLAGS_X86[@]})" |
66 |
+ |
67 |
+# unbundling code commented out pending bugs 584056 and 584058 |
68 |
+#>=dev-libs/jerasure-2.0.0-r1 |
69 |
+#>=dev-libs/gf-complete-2.0.0 |
70 |
+COMMON_DEPEND=" |
71 |
+ app-arch/bzip2:=[static-libs?] |
72 |
+ app-arch/lz4:=[static-libs?] |
73 |
+ app-arch/snappy:=[static-libs?] |
74 |
+ app-arch/zstd:=[static-libs?] |
75 |
+ app-misc/jq:=[static-libs?] |
76 |
+ dev-libs/boost:=[threads,context,static-libs?] |
77 |
+ dev-libs/crypto++:=[static-libs?] |
78 |
+ dev-libs/leveldb:=[snappy,static-libs?] |
79 |
+ dev-libs/libaio:=[static-libs?] |
80 |
+ dev-libs/libxml2:=[static-libs?] |
81 |
+ sys-apps/keyutils:=[static-libs?] |
82 |
+ sys-apps/util-linux:=[static-libs?] |
83 |
+ sys-libs/zlib:=[static-libs?] |
84 |
+ babeltrace? ( dev-util/babeltrace ) |
85 |
+ ldap? ( net-nds/openldap:=[static-libs?] ) |
86 |
+ lttng? ( dev-util/lttng-ust:= ) |
87 |
+ nss? ( dev-libs/nss:= ) |
88 |
+ fuse? ( sys-fs/fuse:0=[static-libs?] ) |
89 |
+ ssl? ( dev-libs/openssl:=[static-libs?] ) |
90 |
+ xfs? ( sys-fs/xfsprogs:=[static-libs?] ) |
91 |
+ zfs? ( sys-fs/zfs:=[static-libs?] ) |
92 |
+ radosgw? ( |
93 |
+ dev-libs/expat:=[static-libs?] |
94 |
+ dev-libs/openssl:=[static-libs?] |
95 |
+ net-misc/curl:=[static-libs?] |
96 |
+ ) |
97 |
+ jemalloc? ( dev-libs/jemalloc:=[static-libs?] ) |
98 |
+ !jemalloc? ( >=dev-util/google-perftools-2.4:=[static-libs?] ) |
99 |
+ ${PYTHON_DEPS} |
100 |
+ " |
101 |
+DEPEND="${COMMON_DEPEND} |
102 |
+ app-arch/cpio |
103 |
+ dev-lang/yasm |
104 |
+ dev-python/cython[${PYTHON_USEDEP}] |
105 |
+ dev-python/sphinx |
106 |
+ dev-util/gperf |
107 |
+ dev-util/valgrind |
108 |
+ sys-apps/which |
109 |
+ sys-devel/bc |
110 |
+ virtual/pkgconfig |
111 |
+ test? ( |
112 |
+ dev-python/tox[${PYTHON_USEDEP}] |
113 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
114 |
+ sys-apps/grep[pcre] |
115 |
+ sys-fs/btrfs-progs |
116 |
+ )" |
117 |
+RDEPEND="${COMMON_DEPEND} |
118 |
+ net-misc/socat |
119 |
+ sys-apps/gptfdisk |
120 |
+ sys-block/parted |
121 |
+ sys-fs/cryptsetup |
122 |
+ !<sys-apps/openrc-0.26.3 |
123 |
+ dev-python/cherrypy[${PYTHON_USEDEP}] |
124 |
+ dev-python/flask[${PYTHON_USEDEP}] |
125 |
+ dev-python/pecan[${PYTHON_USEDEP}] |
126 |
+ dev-python/prettytable[${PYTHON_USEDEP}] |
127 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
128 |
+ dev-python/requests[${PYTHON_USEDEP}] |
129 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
130 |
+ " |
131 |
+REQUIRED_USE=" |
132 |
+ $(python_gen_useflags 'python2*') |
133 |
+ ${PYTHON_REQUIRED_USE} |
134 |
+ ?? ( ssl nss ) |
135 |
+ ?? ( jemalloc tcmalloc ) |
136 |
+ " |
137 |
+ |
138 |
+# radosgw seems to be required to actually build |
139 |
+REQUIRED_USE+=" radosgw" |
140 |
+ |
141 |
+RESTRICT="test? ( userpriv )" |
142 |
+ |
143 |
+# distribution tarball does not include everything needed for tests |
144 |
+RESTRICT+=" test" |
145 |
+ |
146 |
+STRIP_MASK="/usr/lib*/rados-classes/*" |
147 |
+ |
148 |
+UNBUNDLE_LIBS=( |
149 |
+ src/erasure-code/jerasure/jerasure |
150 |
+ src/erasure-code/jerasure/gf-complete |
151 |
+) |
152 |
+ |
153 |
+PATCHES=( |
154 |
+ "${FILESDIR}/${PN}-12.2.0-use-provided-cpu-flag-values.patch" |
155 |
+ |
156 |
+ # pull in some bugfixes from upstream |
157 |
+ "${FILESDIR}/${PN}-12.2.0-fix_two_stray_get_health_callers.patch" |
158 |
+) |
159 |
+ |
160 |
+check-reqs_export_vars() { |
161 |
+ if use amd64; then |
162 |
+ CHECKREQS_DISK_BUILD="12G" |
163 |
+ CHECKREQS_DISK_USR="460M" |
164 |
+ else |
165 |
+ CHECKREQS_DISK_BUILD="1400M" |
166 |
+ CHECKREQS_DISK_USR="450M" |
167 |
+ fi |
168 |
+ |
169 |
+ export CHECKREQS_DISK_BUILD CHECKREQS_DISK_USR |
170 |
+} |
171 |
+ |
172 |
+user_setup() { |
173 |
+ enewgroup ceph ${CEPH_GID:--1} |
174 |
+ enewuser ceph "${CEPH_UID:--1}" -1 /var/lib/ceph ceph |
175 |
+} |
176 |
+ |
177 |
+pkg_pretend() { |
178 |
+ check-reqs_export_vars |
179 |
+ check-reqs_pkg_pretend |
180 |
+} |
181 |
+ |
182 |
+pkg_setup() { |
183 |
+ python_setup 'python2*' |
184 |
+ check-reqs_export_vars |
185 |
+ check-reqs_pkg_setup |
186 |
+ user_setup |
187 |
+} |
188 |
+ |
189 |
+src_prepare() { |
190 |
+ default |
191 |
+ |
192 |
+ # remove tests that need root access |
193 |
+ rm src/test/cli/ceph-authtool/cap*.t |
194 |
+ |
195 |
+ #rm -rf "${UNBUNDLE_LIBS[@]}" |
196 |
+} |
197 |
+ |
198 |
+ceph_src_configure() { |
199 |
+ local flag |
200 |
+ local mycmakeargs=( |
201 |
+ -DWITH_BABELTRACE=$(usex babeltrace) |
202 |
+ -DWITH_CEPHFS=$(usex cephfs) |
203 |
+ -DWITH_FUSE=$(usex fuse) |
204 |
+ -DWITH_LTTNG=$(usex lttng) |
205 |
+ -DWITH_MGR=$(usex mgr) |
206 |
+ -DWITH_NSS=$(usex nss) |
207 |
+ -DWITH_OPENLDAP=$(usex ldap) |
208 |
+ -DWITH_RADOSGW=$(usex radosgw) |
209 |
+ -DWITH_SSL=$(usex ssl) |
210 |
+ -DWITH_SYSTEMD=$(usex systemd) |
211 |
+ -DWITH_TESTS=$(usex test) |
212 |
+ -DWITH_XFS=$(usex xfs) |
213 |
+ -DWITH_ZFS=$(usex zfs) |
214 |
+ -DENABLE_SHARED=$(usex static-libs '' 'yes' 'no') |
215 |
+ -DALLOCATOR=$(usex tcmalloc 'tcmalloc' '' "$(usex jemalloc 'jemalloc' '' 'libc' '')" '') |
216 |
+ -DWITH_SYSTEM_BOOST=yes |
217 |
+ -DWITH_RDMA=no |
218 |
+ ) |
219 |
+ if use amd64 || use x86; then |
220 |
+ for flag in ${CPU_FLAGS_X86[@]}; do |
221 |
+ mycmakeargs+=("$(usex cpu_flags_x86_${flag} "-DHAVE_INTEL_${flag^^}=1")") |
222 |
+ done |
223 |
+ fi |
224 |
+ |
225 |
+ rm -f "${BUILD_DIR:-${S}}/CMakeCache.txt" |
226 |
+ cmake-utils_src_configure |
227 |
+} |
228 |
+ |
229 |
+src_configure() { |
230 |
+ ceph_src_configure |
231 |
+} |
232 |
+ |
233 |
+python_compile() { |
234 |
+ local CMAKE_USE_DIR="${S}" |
235 |
+ |
236 |
+ ceph_src_configure |
237 |
+ pushd "${BUILD_DIR}/src/pybind" >/dev/null || die |
238 |
+ emake VERBOSE=1 all |
239 |
+ |
240 |
+ # python modules are only compiled with "make install" so we need to do this to |
241 |
+ # prevent doing a bunch of compilation in src_install |
242 |
+ DESTDIR="${T}" emake VERBOSE=1 install |
243 |
+ popd >/dev/null || die |
244 |
+} |
245 |
+ |
246 |
+src_compile() { |
247 |
+ cmake-utils_src_make all |
248 |
+ |
249 |
+ # we have to do this here to prevent from building everything multiple times |
250 |
+ BUILD_DIR="${CMAKE_BUILD_DIR}" python_copy_sources |
251 |
+ python_foreach_impl python_compile |
252 |
+} |
253 |
+ |
254 |
+src_test() { |
255 |
+ make check || die "make check failed" |
256 |
+} |
257 |
+ |
258 |
+python_install() { |
259 |
+ local CMAKE_USE_DIR="${S}" |
260 |
+ pushd "${BUILD_DIR}/src/pybind" >/dev/null || die |
261 |
+ DESTDIR="${D}" emake install |
262 |
+ popd >/dev/null || die |
263 |
+} |
264 |
+ |
265 |
+src_install() { |
266 |
+ cmake-utils_src_install |
267 |
+ python_foreach_impl python_install |
268 |
+ |
269 |
+ prune_libtool_files --all |
270 |
+ |
271 |
+ exeinto /usr/$(get_libdir)/ceph |
272 |
+ newexe "${CMAKE_BUILD_DIR}/bin/init-ceph" ceph_init.sh |
273 |
+ |
274 |
+ insinto /etc/logrotate.d/ |
275 |
+ newins "${FILESDIR}"/ceph.logrotate ${PN} |
276 |
+ |
277 |
+ keepdir /var/lib/${PN}{,/tmp} /var/log/${PN}/stat |
278 |
+ |
279 |
+ fowners -R ceph:ceph /var/lib/ceph /var/log/ceph |
280 |
+ |
281 |
+ newinitd "${FILESDIR}/rbdmap.initd" rbdmap |
282 |
+ newinitd "${FILESDIR}/${PN}.initd-r5" ${PN} |
283 |
+ newconfd "${FILESDIR}/${PN}.confd-r3" ${PN} |
284 |
+ |
285 |
+ insinto /etc/sysctl.d |
286 |
+ newins "${FILESDIR}"/sysctld 90-${PN}.conf |
287 |
+ |
288 |
+ use tcmalloc && newenvd "${FILESDIR}"/envd-tcmalloc 99${PN}-tcmalloc |
289 |
+ |
290 |
+ systemd_install_serviced "${FILESDIR}/ceph-mds_at.service.conf" "ceph-mds@.service" |
291 |
+ systemd_install_serviced "${FILESDIR}/ceph-osd_at.service.conf" "ceph-osd@.service" |
292 |
+ |
293 |
+ udev_dorules udev/*.rules |
294 |
+ |
295 |
+ readme.gentoo_create_doc |
296 |
+ |
297 |
+ python_setup 'python2*' |
298 |
+ python_fix_shebang "${ED}"/usr/{,s}bin/ |
299 |
+ |
300 |
+ # python_fix_shebang apparently is not idempotent |
301 |
+ sed -i -r 's:(/usr/lib/python-exec/python[0-9]\.[0-9]/python)[0-9]\.[0-9]:\1:' \ |
302 |
+ "${ED}"/usr/{sbin/ceph-disk,bin/ceph-detect-init} || die "sed failed" |
303 |
+} |
304 |
+ |
305 |
+pkg_postinst() { |
306 |
+ readme.gentoo_print_elog |
307 |
+} |
308 |
|
309 |
diff --git a/sys-cluster/ceph/files/ceph-12.2.0-fix_two_stray_get_health_callers.patch b/sys-cluster/ceph/files/ceph-12.2.0-fix_two_stray_get_health_callers.patch |
310 |
new file mode 100644 |
311 |
index 00000000000..ec6f53ef461 |
312 |
--- /dev/null |
313 |
+++ b/sys-cluster/ceph/files/ceph-12.2.0-fix_two_stray_get_health_callers.patch |
314 |
@@ -0,0 +1,46 @@ |
315 |
+commit b713cc831da238844a6e42e80e93cb31ee060aad |
316 |
+Author: Sage Weil <sage@××××××.com> |
317 |
+Date: Fri Aug 25 18:30:12 2017 -0400 |
318 |
+ |
319 |
+ mon: fix two stray legacy get_health() callers |
320 |
+ |
321 |
+ These need to call the new method when appropriate. |
322 |
+ |
323 |
+ Signed-off-by: Sage Weil <sage@××××××.com> |
324 |
+ (cherry picked from commit 69038a18070d0cd47dc857020cce115514beaa3d) |
325 |
+ |
326 |
+diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc |
327 |
+index d98a40967b..b330d78f8c 100644 |
328 |
+--- a/src/mon/Monitor.cc |
329 |
++++ b/src/mon/Monitor.cc |
330 |
+@@ -3363,8 +3363,12 @@ void Monitor::handle_command(MonOpRequestRef op) |
331 |
+ tagstr = tagstr.substr(0, tagstr.find_last_of(' ')); |
332 |
+ f->dump_string("tag", tagstr); |
333 |
+ |
334 |
+- list<string> hs; |
335 |
+- get_health(hs, NULL, f.get()); |
336 |
++ if (osdmon()->osdmap.require_osd_release >= CEPH_RELEASE_LUMINOUS) { |
337 |
++ get_health_status(true, f.get(), nullptr); |
338 |
++ } else { |
339 |
++ list<string> health_str; |
340 |
++ get_health(health_str, nullptr, f.get()); |
341 |
++ } |
342 |
+ |
343 |
+ monmon()->dump_info(f.get()); |
344 |
+ osdmon()->dump_info(f.get()); |
345 |
+@@ -4399,8 +4403,13 @@ void Monitor::handle_ping(MonOpRequestRef op) |
346 |
+ boost::scoped_ptr<Formatter> f(new JSONFormatter(true)); |
347 |
+ f->open_object_section("pong"); |
348 |
+ |
349 |
+- list<string> health_str; |
350 |
+- get_health(health_str, NULL, f.get()); |
351 |
++ if (osdmon()->osdmap.require_osd_release >= CEPH_RELEASE_LUMINOUS) { |
352 |
++ get_health_status(false, f.get(), nullptr); |
353 |
++ } else { |
354 |
++ list<string> health_str; |
355 |
++ get_health(health_str, nullptr, f.get()); |
356 |
++ } |
357 |
++ |
358 |
+ { |
359 |
+ stringstream ss; |
360 |
+ get_mon_status(f.get(), ss); |
361 |
|
362 |
diff --git a/sys-cluster/ceph/files/ceph-12.2.0-use-provided-cpu-flag-values.patch b/sys-cluster/ceph/files/ceph-12.2.0-use-provided-cpu-flag-values.patch |
363 |
new file mode 100644 |
364 |
index 00000000000..55c82b0a272 |
365 |
--- /dev/null |
366 |
+++ b/sys-cluster/ceph/files/ceph-12.2.0-use-provided-cpu-flag-values.patch |
367 |
@@ -0,0 +1,37 @@ |
368 |
+diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake |
369 |
+index 5330835aa1..a4dd881e34 100644 |
370 |
+--- a/cmake/modules/SIMDExt.cmake |
371 |
++++ b/cmake/modules/SIMDExt.cmake |
372 |
+@@ -76,32 +76,25 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm|ARM") |
373 |
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64") |
374 |
+ set(HAVE_INTEL 1) |
375 |
+ if(CMAKE_SYSTEM_PROCESSOR MATCHES "i686|amd64|x86_64|AMD64") |
376 |
+- CHECK_C_COMPILER_FLAG(-msse HAVE_INTEL_SSE) |
377 |
+ if(HAVE_INTEL_SSE) |
378 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse") |
379 |
+ endif() |
380 |
+ if(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64|x86_64|AMD64") |
381 |
+- CHECK_C_COMPILER_FLAG(-msse2 HAVE_INTEL_SSE2) |
382 |
+ if(HAVE_INTEL_SSE2) |
383 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse2") |
384 |
+ endif() |
385 |
+- CHECK_C_COMPILER_FLAG(-msse3 HAVE_INTEL_SSE3) |
386 |
+ if(HAVE_INTEL_SSE3) |
387 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse3") |
388 |
+ endif() |
389 |
+- CHECK_C_COMPILER_FLAG(-mssse3 HAVE_INTEL_SSSE3) |
390 |
+ if(HAVE_INTEL_SSSE3) |
391 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mssse3") |
392 |
+ endif() |
393 |
+- CHECK_C_COMPILER_FLAG(-mpclmul HAVE_INTEL_PCLMUL) |
394 |
+ if(HAVE_INTEL_PCLMUL) |
395 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -mpclmul") |
396 |
+ endif() |
397 |
+- CHECK_C_COMPILER_FLAG(-msse4.1 HAVE_INTEL_SSE4_1) |
398 |
+ if(HAVE_INTEL_SSE4_1) |
399 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse4.1") |
400 |
+ endif() |
401 |
+- CHECK_C_COMPILER_FLAG(-msse4.2 HAVE_INTEL_SSE4_2) |
402 |
+ if(HAVE_INTEL_SSE4_2) |
403 |
+ set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse4.2") |
404 |
+ endif() |
405 |
|
406 |
diff --git a/sys-cluster/ceph/metadata.xml b/sys-cluster/ceph/metadata.xml |
407 |
index 958ea7ee16d..be0d84faee0 100644 |
408 |
--- a/sys-cluster/ceph/metadata.xml |
409 |
+++ b/sys-cluster/ceph/metadata.xml |
410 |
@@ -26,6 +26,7 @@ Ceph is a distributed network file system designed to provide excellent performa |
411 |
<flag name="libaio">Use libaio as asynchronous input/output library</flag> |
412 |
<flag name="lttng">Add support for LTTng</flag> |
413 |
<flag name="babeltrace">Add support for LTTng babeltrace</flag> |
414 |
+ <flag name="mgr">Build the ceph-mgr daemon</flag> |
415 |
<flag name="nss">Use <pkg>dev-libs/nss</pkg> for cryptography</flag> |
416 |
<flag name="radosgw">Add radosgw support</flag> |
417 |
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations</flag> |