Commit Graph

554 Commits

Author SHA1 Message Date
Kefu Chai
70bbf1aded configure.ac,debian,rpm: do not package .a files in rpm/deb packages
this change removes *.a from -dev or -devel packages.

* configure.ac:
  - use LT_INIT instead of AM_PROG_LIBTOOL. the later is deprecated.
  - disable static lib:
    .a static libraries not not useful, it's tricky to generate both
    static libraries and shared libraries in cmake.
    see http://www.spinics.net/lists/ceph-devel/msg30637.html
* ceph.spec.in: fedora packaging policy forbids this
  see
  https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
* debian/*-dev.install: debian does not requires this
  see
  https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-static

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-07 14:08:59 +08:00
Willem Jan Withagen
ad9bc9a707 FreeBSD/configure.ac: No RPMs and fix YASM selection
- FreeBSD does not have arch, so use uname
 - Freebsd packaging does not have rpm
 - do not use [ for test(1) in autobuild tools
   [ is used as special char in autobuild as well. Better to avoid
   possible trouble.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-05-10 23:41:17 +02:00
Casey Bodley
75a9e437aa Merge pull request #8637 from roidayan/xio-remove_rdma_and_ibverbs_from_configure
confiugre.ac: remove rdma and ibverbs dependency from xio
2016-05-03 17:11:01 -04:00
Jenkins Build Slave User
3a9fba20ec 10.2.0 2016-04-20 11:29:48 +00:00
Roi Dayan
bc060bcd7d confiugre.ac: remove rdma and ibverbs dependency from xio
XioMessenger works with Accelio api and not rdma and ibverbs api directly.
configure.ac already has a check for libxio.

Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-04-18 08:39:00 +03:00
Jenkins Build Slave User
4a2a6f7264 10.1.2 2016-04-12 17:42:56 +00:00
Jenkins Build Slave User
ce50389b77 10.1.1 2016-04-06 00:45:19 +00:00
Ira Cooper
602425abd5 configure: Add -D_LARGEFILE64_SOURCE to Linux build.
Without -D_LARGEFILE64_SOURCE we can't build against libxfs,
because off64_t must be defined.

Signed-off-by: Ira Cooper <ira@redhat.com>
2016-03-31 12:30:45 -04:00
Loic Dachary
0ab4813092 script: subscription-manager support (part 2)
Strip the .py suffix so that no pyc / pyo files are generated.
Do not install on CentOS.

http://tracker.ceph.com/issues/14972 Fixes: #14972

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-26 19:20:57 +01:00
Sage Weil
a0e5aa5c8a Merge remote-tracking branch 'gh/jewel' 2016-03-25 15:49:23 -04:00
Jenkins Build Slave User
96ae8bd25f 10.1.0 2016-03-24 10:53:48 +00:00
Sage Weil
f9b079e0af Merge pull request #7907 from dachary/wip-subman-facts
script: subscription-manager support

Reviewed-by: Boris Ranto <branto@redhat.com>
2016-03-23 17:05:47 -04:00
Loic Dachary
1b0e6397a7 script: subscription-manager support
The script is designed to create a fact file for subscription-manager to
consume. It is run hourly from /etc/cron.hourly on RHEL.

http://tracker.ceph.com/issues/14972 Fixes: #14972

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-17 11:07:34 +01:00
Matt Benjamin
1539d9029c rgw-ldap: conditional build
Permit building without LDAP support--support is enabled by default.
Tested with CMake and autotools standalone builds.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-03-16 16:31:20 -04:00
Josh Durgin
93863e7e22 Merge pull request #7663 from javacruft/wip-pybind-flags
pybind: Ensure correct python flags are passed

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-11 17:40:40 -08:00
Josh Durgin
a7f7339df7 Merge pull request #7856 from jdurgin/wip-cython-cleanup
configure.ac: update help strings for cython

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2016-03-11 17:35:11 -08:00
Sage Weil
96c1da9cd1 v10.0.5
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAlbi+tkACgkQ2kQg7SiJlcjm4gCeJ5FdX6wYXP69g3yrY7wHRxtM
 TawAoMnRD5i0Ndz4cceCvcBMk64W7mQG
 =Ta2C
 -----END PGP SIGNATURE-----

Merge tag 'v10.0.5'

v10.0.5

Conflicts:
	debian/changelog
2016-03-11 12:07:55 -05:00
Sage Weil
5acb2655ec v10.0.5
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 12:05:13 -05:00
Sage Weil
be3544f162 Merge remote-tracking branch 'gh/jewel' 2016-03-03 13:35:13 -05:00
Sage Weil
ea45099808 v10.0.4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-03 13:34:46 -05:00
Sage Weil
2786f0bf11 Merge remote-tracking branch 'gh/jewel' 2016-03-02 09:22:28 -05:00
Josh Durgin
597aaba4f5 configure.ac: cython is used for more than librbd now
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 14:53:43 -08:00
Hector Martin
2cf7c4a932 configure.ac: boost_iostreams is required, not optional
Signed-off-by: Hector Martin <marcan@marcan.st>
2016-02-26 19:16:14 +09:00
James Page
1c0406aed6 pybind: Ensure correct python flags are passed
Cython should use the cflags and ldflags provided by
python-config; add checks, population and use of:

  PYTHON_CFLAGS
  PYTHON_LDFLAGS

resolving linker failures on Ubuntu and Debian.

Signed-off-by: James Page <james.page@ubuntu.com>
2016-02-16 18:43:05 +00:00
Nathan Cutler
a6cc8ea5d9 rpm: drop systemd_libexec_dir template variable
General cleanup. Actual use of the template variable was discontinued in
7c9fdf44f2.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-15 19:54:14 +01:00
Nathan Cutler
5c09a3e4e4 rpm: drop user_rgw and group_rgw template variables
These were originally used to template RGW tmpfiles.d, which was eliminated
by 8e13d89f0f

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-15 19:44:07 +01:00
Orit Wasserman
7942c93725 rgw: fix compilation with older boost versions that don't have asio coroutines
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-02-11 16:13:30 -08:00
Sage Weil
a20134d94a Merge pull request #7349 from yuyuyu101/add-pwritev
osd: FileStore: use pwritev instead of lseek+writev

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-09 08:58:28 -05:00
Sage Weil
f22b671434 Merge remote-tracking branch 'gh/jewel' 2016-02-08 17:26:13 -05:00
Sage Weil
efc8134f66 v10.0.3
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-08 17:10:53 -05:00
Sage Weil
c87f3f3464 Merge pull request #7503 from tchaikov/wip-cmake-spdk
build: spdk submodule; cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-05 09:16:59 -05:00
Kefu Chai
09e55d0c24 autotools: enable NVMEDevice if SPDK is found
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-04 14:05:53 +08:00
Sage Weil
9a80477432 Merge branch 'gelf-logging-backend' of git://github.com/irq0/ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-03 08:48:26 -05:00
Haomai Wang
7d02b82210 configure: remove unused lines
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:05:02 +08:00
Haomai Wang
47335108e1 NVMEDevice: let aio_write submit request FIFO
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
4689bd2772 NVMEDevice: Fix static method
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00
Haomai Wang
4e85f5ec9b NVMEDevice: fix unknown serial number problem
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00
Haomai Wang
5aa1c86f96 Makefile: let spdk/dpdk libraries linked in upper layer
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:43 +08:00
Haomai Wang
ba5973f7ff configure.ac: fix spdk external header location
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:43 +08:00
Haomai Wang
ee4951d05c makefile: add SPDK detect and NVMEDevice to Makefile
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:42 +08:00
Haomai Wang
b1e27a59c7 configure.ac: add pwritev check
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-01-31 03:05:09 +08:00
Marcel Lauhoff
a483168a2f Graylog2 logging
Add graylog2 as logger target. Format log entries as GELF and send them via UDP to log server

New config options
 -  log_to_graylog
 -  err_to_graylog
 -  log_graylog_host
 -  log_graylog_port

[0] https://www.graylog2.org/resources/gelf

Signed-off-by: Marcel Lauhoff <ml@irq0.org>
2016-01-29 15:32:47 +01:00
Sage Weil
f9a8c56598 Merge pull request #7368 from somnathr/wip-jemalloc-build
build: allow jemalloc enabled build with rocksdb-static

http://pulpito.ceph.com/sage-2016-01-27_18:39:48-rados-wip-sage-testing---basic-smithi/

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:22:55 -05:00
Kefu Chai
563206cc43 make: disable FuseStore if !WITH_FUSE
* configure.ac: "#define HAVE_LIBFUSE" if libfuse is found
* os/Makefile.am: do not compile FuseStore.cc if libfuse is not found

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-28 23:36:45 +08:00
Somnath Roy
a45f484a9d Build: Allow jemalloc enabled build with rocksdb-static
Presently, we can't do jemalloc enabled OSD build along with
rocksdb-static.Rocksdb is now mandatory with Bluestore and that's why
jemalloc builds are failing. Sometimes back the following commit
fd7a35731854528dde10deb3444a82ae4c1a9206 is introduced to build rocksdb
with jemalloc as well, so, we can allow jemalloc build along with
rocksdb-static now. Removing the redundant check from configure.ac.

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
2016-01-26 19:05:40 -05:00
Loic Dachary
acd4314cf3 Merge pull request #7284 from ceph/wip-make-remove-libedit
makefile: remove libedit from libclient.la

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-25 13:15:48 +07:00
Dan Mick
269c61a667 configure.ac: make "--with-librocksdb-static" default to 'check'
Fixes: #14463
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-01-21 15:31:47 -08:00
Kefu Chai
f5da159457 makefile: remove dependency on libedit
turns out we are not using it anymore

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-20 00:35:50 +08:00
Kefu Chai
ce8558216a configure: detect new gperftool
this is a follow-up of 6edaf4e, when tcmalloc is enabled,
perfglue/heap_profiler.cc is also compiled, it includes the
google/heap-profiler.h. so to silence the the warnings like
 warning: /usr/include/google/heap-profiler.h:35:2: #warning
 "google/heap-profiler.h is deprecated. Use gperftools/heap-profiler.h
 instead" [-Wcpp]
we also check the new location of these header files if tcmalloc
is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-18 12:31:31 +08:00
Jason Dillaman
a290d34ebd Merge remote-tracking branch 'upstream/jewel' 2016-01-14 16:21:05 -05:00