Re: ceph-disk and 'make'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 18, 2016 at 5:40 PM, Sage Weil <sweil@xxxxxxxxxx> wrote:
> I noticed that with the new cmake when I do a 'make' the ceph-disk target
> isn't built.  And ctest will fail most of its unit tests.  It looks like
> it is part of the 'tests' target, though.  Is it deliberate that a simple
> 'make' doesn't build everything?

Dunno about this specific case, but in general we don't want
*everything* to be built with a simple "make", since it slows down
compile (and, especially, linking). I don't think ceph-disk is used
during development for anything except the tests so this would make
some sense, right?

On Mon, Sep 19, 2016 at 12:35 AM, Loic Dachary <loic@xxxxxxxxxxx> wrote:
> After running
>
> ./install-deps.sh
> mkdir build
> cd build
> cmake ../
> make
>
> I have
>
> loic@a64e7ff3b216:~/ceph-ubuntu-14.04-loic/build$ ls -l src/ceph-disk
> ls -l src/ceph-disk
> total 28
> drwxr-xr-x 4 loic loic 4096 Sep 19 05:57 CMakeFiles
> -rw-r--r-- 1 loic loic  313 Sep 19 05:57 CTestTestfile.cmake
> -rw-r--r-- 1 loic loic 7240 Sep 19 05:57 Makefile
> lrwxrwxrwx 1 loic loic   58 Sep 19 06:00 README.rst -> /home/loic/ceph-ubuntu-14.04-loic/src/ceph-disk/README.rst
> lrwxrwxrwx 1 loic loic   57 Sep 19 06:00 ceph_disk -> /home/loic/ceph-ubuntu-14.04-loic/src/ceph-disk/ceph_disk
> -rw-r--r-- 1 loic loic 1878 Sep 19 05:57 cmake_install.cmake
> lrwxrwxrwx 1 loic loic   64 Sep 19 06:00 requirements.txt -> /home/loic/ceph-ubuntu-14.04-loic/src/ceph-disk/requirements.txt
> lrwxrwxrwx 1 loic loic   56 Sep 19 06:00 setup.py -> /home/loic/ceph-ubuntu-14.04-loic/src/ceph-disk/setup.py
> lrwxrwxrwx 1 loic loic   69 Sep 19 06:00 test-requirements.txt -> /home/loic/ceph-ubuntu-14.04-loic/src/ceph-disk/test-requirements.txt
>
> which I interpret as make building ceph-disk. Did you expect something else ?

Shouldn't any "built" stuff in cmake be going in the build directory
rather than the ceph/src one?
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux