Commit Graph

24 Commits

Author SHA1 Message Date
Kefu Chai
2d393b27a5 do_freebsd.sh: enable WITH_BLUESTORE
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-12-22 00:22:13 +08:00
Willem Jan Withagen
dbbe633687 build: FreeBSD allow kv_store tools to be build
This requires defining
`EUCLEAN`
`EKEYREJECTED`
which are defined in Linux asm-generic/error.h

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-28 14:49:02 +01:00
Willem Jan Withagen
6ef950e868 build: FreeBSD building needs the llvm linker
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-11-25 15:38:54 +01:00
Willem Jan Withagen
3b776457fe FreeBSD: update build script to current state
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-06 23:42:06 +02:00
Kefu Chai
9a8ec11114 do_freebsd.sh: disable rdma features
FreeBSD does have libibiverb and librdmacm, but we disable them anyway
for minimal dependency.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-28 23:26:28 +08:00
Alfredo Deza
a855340e4c build: remove ceph-disk from freebsd script
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:23 -04:00
Dan Mick
39b2626c7a Remove embedded 'cephd' code
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-05-11 13:10:26 -07:00
Kefu Chai
df446f06cb cmake: WITH_SPDK=ON by default
Signed-off-by: wanjun.lp <wanjun.lp@alibaba-inc.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-17 15:40:00 +08:00
Alan Somers
1430f36f67 Build: create a proper WITH_BLUESTORE option
Using Bluestore is not the same thing as having libaio, especially on
non-Linux platforms.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-10-18 10:20:06 -06:00
Alan Somers
44c6a47fb6 do_{cmake,freebsd}: Don't invoke nproc(1) on FreeBSD
Use sysctl(8) instead.  Also, there's no longer any need for /bin/bash
on FreeBSD.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-09-25 16:24:06 -06:00
Willem Jan Withagen
3d712b6781 build: let FreeBSD build ceph-fuse
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-04-02 21:39:41 +02:00
Willem Jan Withagen
d92de30724 do_freebsd.sh: the EMBEDDED target is not (yet) working for FreeBSD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-24 11:51:25 +01:00
Willem Jan Withagen
ec07744846 do_freebsd.sh: Remove ENODATA requirement
- This was there because cython did not know about ENOATTR
   But since cython 0.25.2 tus is fixed.
   And we don't need to edit /usr/include/errno.h

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-24 11:20:16 +01:00
Willem Jan Withagen
e0e0075920 doc: Have install put manpages in the FreeBSD correct location
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-02-16 16:42:17 +01:00
Willem Jan Withagen
a491ccdbf0 ./do_freebsd.sh: Do not use KRBD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-12 16:12:41 +01:00
Kefu Chai
28622f88ae Merge pull request #12191 from wjwithagen/wip-wjw-freebsd-radosgw-admin
rgw_file: radosgw-admin can be built under FreeBSD

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-04 23:09:06 +08:00
Willem Jan Withagen
f1b9618b41 Cmake/FreeBSD: use the SYSTEM_BOOST
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-12-02 11:11:57 +01:00
Willem Jan Withagen
2b2510e144 FreeBSD/radosgw-admin can be build
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-11-26 22:56:53 +01:00
Willem Jan Withagen
84cc0ddfd5 FreeBSD: do_freebsd.sh
- rearrange and and more checks before building
 - introduce CEPH_DEV to add test/code/debugging when DEVeloping

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-11-22 09:34:00 +01:00
Willem Jan Withagen
7a9d846df4 do_freebsd.sh: Do not use LLTNG on FreeBSD
FreeBSD has Dtrace

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-19 11:00:55 +02:00
Willem Jan Withagen
ec16ced98d ./do_freebsd.sh: remove pipe to get correct return value
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-16 14:28:07 +02:00
Willem Jan Withagen
ea708e749b do_freebsd.sh: Set options for debug building.
And that requires that the options need to be passed on completely
to the cmake program as well. Thus adding """'s around the option
argument with do_cmake.sh as well

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-12 11:06:00 +02:00
Kefu Chai
e8cee2521a do_freebsd*.sh: rename do_freebsd-cmake.sh to do_freebsd.sh
as autotools is dropped. and remove trailing spaces.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-15 14:18:33 +08:00
Willem Jan Withagen
89f63d4ae8 FreeBSD/build: Files specific for building on FreeBSD
- README.FreeBSD for the description of the current work thusfar
 - do_freebsd.sh, the srcipt to run autobuild/compile/tests
 - autogen_freebsd.sh set the options to use in the auto/configure tools
 - do_freebsd.sh: Install bash and softlink, so other bash scripts can
   run as is. Using /usr/bin/env would be more compliant.
   But not for now. This makes it compatible with the std-linux environment
 - So now we can even have Clang in /usr/bin and /usr/local/bin
   and still get the right one.
 - Use less error suppression, but start fixing warning.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-05-10 23:41:17 +02:00