Go Back   Angband Forums > The real world > Idle chatter

Thread Tools Display Modes
Old September 7, 2011, 01:54   #1
Therem Harth
Therem Harth's Avatar
Join Date: Jan 2008
Location: New England winter
Posts: 913
Therem Harth is on a distinguished road
Why is CMake so fast?

Something I noticed when compiling ToME 2.3.5 vs. 2.3.9-ah: 2.3.5 (which uses a handwritten(?) makefile, as opposed to CMake) takes several minutes longer to compile.

Does CMake automatically invoke parallel jobs, or something like that?
Therem Harth is offline   Reply With Quote
Old September 7, 2011, 20:24   #2
AnonymousHero's Avatar
Join Date: Jun 2007
Posts: 1,367
AnonymousHero is on a distinguished road
CMake doesn't build in parallel automatically, but you can get to do that using, e.g.
make -j5
for compiling on 4 cores. Another option is to set the MAKEFLAGS environment variable to "-j5" (sans quotes).

I'm not sure if the "legacy" makefiles in ToME <= 2.3.5 support this properly in any way.
AnonymousHero is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breeders breed too fast? Therem Harth Vanilla 3 July 7, 2011 15:31
YAWP: fast HE rogue bulian AAR 13 July 5, 2011 19:35
Too fast too little bug konijn_ Vanilla 0 February 18, 2010 18:44
Too-fast diver needs help at 4900' ... Magnate AAR 6 December 3, 2009 22:47
Fast diving, a myth? g. rodrigues Vanilla 17 September 7, 2008 07:32

All times are GMT +1. The time now is 23:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.