Skip to contentSkip to conversation

no more autotools

DISCUSSION Sage Weil 3 participants 3 messages Sep 8, 2016

lore
Share & tools
lore

Sage Weil

author
#0 lore raw

Yesterday we merged a PR that removed all of the autotools build infrastructure from the master branch of ceph.git. We'll be 100% cmake for Kraken. Hooray!

Huge thank you to Ali, Casey, Kefu, and everyone else who helped with this effort!

The gitbuilder and teuthology bits should all now be fully functional with cmake-only as we've been doing builds and tests with it for a while. We've no doubt broken some things with the release builds.

I think the next step should be to do a dev release (11.0.1) to work through the kinks and ensure that in a few weeks/months time when we are ready for kraken -rc's everything is working. Alfredo and Abhishek, this will be mostly fall on you :). I think any master commit is fine for our purposes (it's just a dev checkpoint and the main goal is to make sure the build works, not produce a well-tested set of packages for end users).

sage

#1 lore raw

Sage,
I saw do_autogen.sh is still there but failing as autogen.sh not there :-)..
One more thing , jemalloc enabled build along with rocksdb is still failing , I had to manually uncomment the following in db_impl.cc to get it through.

/*static void GetJemallocStatus(void* mstat_arg, const char* status) {
MallocStatus* mstat = reinterpret_cast<MallocStatus*>(mstat_arg); size_t status_len = status ? strlen(status) : 0;
size_t buf_size = (size_t)(mstat->end - mstat->cur);

  if (!status_len || status_len > buf_size) {
    return;

}

snprintf(mstat->cur, buf_size, "%s", status);
mstat->cur += status_len;
}*/

//malloc_stats_print(GetJemallocStatus, &mstat, "");

I did this to enable jemalloc with cmake.

./install-deps.sh
./do_cmake.sh
cd build
cmake -D ALLOCATOR=jemalloc ..
make -j48

Thanks & Regards
Somnath

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sage Weil
Sent: Thursday, September 08, 2016 7:00 AM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: no more autotools

Yesterday we merged a PR that removed all of the autotools build infrastructure from the master branch of ceph.git. We'll be 100% cmake for Kraken. Hooray!

Huge thank you to Ali, Casey, Kefu, and everyone else who helped with this effort!

The gitbuilder and teuthology bits should all now be fully functional with cmake-only as we've been doing builds and tests with it for a while. We've no doubt broken some things with the release builds.

I think the next step should be to do a dev release (11.0.1) to work through the kinks and ensure that in a few weeks/months time when we are ready for kraken -rc's everything is working. Alfredo and Abhishek, this will be mostly fall on you :). I think any master commit is fine for our purposes (it's just a dev checkpoint and the main goal is to make sure the build works, not produce a well-tested set of packages for end users).

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

#2 lore raw
In reply to Sage Weil
Quoted 11 lines · Sage Weil

Yesterday we merged a PR that removed all of the autotools build infrastructure from the master branch of ceph.git. We'll be 100% cmake for Kraken. Hooray!

Huge thank you to Ali, Casey, Kefu, and everyone else who helped with this effort!

The gitbuilder and teuthology bits should all now be fully functional with cmake-only as we've been doing builds and tests with it for a while. We've no doubt broken some things with the release builds.

Quoted 6 lines

I think the next step should be to do a dev release (11.0.1) to work through the kinks and ensure that in a few weeks/months time when we are ready for kraken -rc's everything is working. Alfredo and Abhishek, this will be mostly fall on you :). I think any master commit is fine for our purposes (it's just a dev checkpoint and the main goal is to make sure the build works, not produce a well-tested set of packages for end users).

For the new CI replacement we already are building master (and kraken) correctly so for
actual releases this shouldn't be too much of a hassle.

We are in a good place for a dev release (11.0.1) any time now.

Quoted 2 lines

sage