Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium is taking a long time to compile
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Jan 27, 2015 5:01 am    Post subject: Chromium is taking a long time to compile Reply with quote

Can someone please tell me why it takes so long to compile www-client/chromium. I just noticed that compile times for www-client/chromium have gotten way out of hand

Code:
#sudo genlop -t chromium
Password:
 * www-client/chromium

     Sun Dec 22 08:19:57 2013 >>> www-client/chromium-31.0.1650.63
       merge time: 56 minutes and 8 seconds.

     Tue Jan  7 10:50:05 2014 >>> www-client/chromium-31.0.1650.63
       merge time: 2 hours, 16 minutes and 56 seconds.

     Fri Jan 17 19:22:34 2014 >>> www-client/chromium-32.0.1700.77
       merge time: 1 hour, 3 minutes and 41 seconds.

     Sun Jan 26 23:26:47 2014 >>> www-client/chromium-32.0.1700.77
       merge time: 1 hour, 15 minutes and 10 seconds.

     Sun Feb  2 23:51:05 2014 >>> www-client/chromium-32.0.1700.102
       merge time: 1 hour, 11 minutes and 43 seconds.

     Sat Feb 22 04:08:46 2014 >>> www-client/chromium-33.0.1750.117
       merge time: 1 hour, 12 minutes and 4 seconds.

     Sun Mar  9 16:03:46 2014 >>> www-client/chromium-33.0.1750.146
       merge time: 11 hours, 39 minutes and 55 seconds.

     Sat Mar 15 08:18:16 2014 >>> www-client/chromium-33.0.1750.149
       merge time: 5 hours, 4 minutes and 46 seconds.

     Fri Mar 21 21:46:39 2014 >>> www-client/chromium-33.0.1750.152
       merge time: 1 day, 1 hour, 25 minutes and 56 seconds.

     Sat Apr 12 07:11:47 2014 >>> www-client/chromium-34.0.1847.116
       merge time: 2 hours, 31 minutes and 30 seconds.

     Mon Apr 28 02:45:26 2014 >>> www-client/chromium-34.0.1847.132
       merge time: 2 hours, 30 minutes and 46 seconds.

     Mon May 19 03:16:30 2014 >>> www-client/chromium-34.0.1847.137
       merge time: 2 hours, 32 minutes and 19 seconds.

     Sun May 25 14:07:09 2014 >>> www-client/chromium-35.0.1916.114-r1
       merge time: 2 hours, 42 minutes and 50 seconds.

     Sat Jun  7 02:45:22 2014 >>> www-client/chromium-35.0.1916.114-r1
       merge time: 1 hour, 10 minutes and 33 seconds.

     Sat Jun 14 06:16:49 2014 >>> www-client/chromium-35.0.1916.153
       merge time: 1 hour, 13 minutes and 42 seconds.

     Sun Jul 27 18:06:24 2014 >>> www-client/chromium-36.0.1985.125
       merge time: 2 hours, 52 minutes and 20 seconds.

     Sat Aug 16 13:29:32 2014 >>> www-client/chromium-36.0.1985.143
       merge time: 1 hour, 30 minutes and 18 seconds.

     Thu Aug 28 00:28:39 2014 >>> www-client/chromium-37.0.2062.94
       merge time: 1 hour, 18 minutes and 10 seconds.

     Tue Oct  7 01:32:36 2014 >>> www-client/chromium-37.0.2062.120
       merge time: 1 hour, 42 minutes and 23 seconds.

     Sat Oct 11 12:10:00 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 4 hours, 41 minutes and 36 seconds.

     Sat Oct 25 15:25:37 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 9 hours, 19 minutes and 31 seconds.

     Sun Nov  9 20:06:42 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 4 hours, 55 minutes and 2 seconds.

     Sat Nov 22 20:23:30 2014 >>> www-client/chromium-39.0.2171.65
       merge time: 12 hours, 54 minutes and 15 seconds.


Edit #1 added emerge --info

Code:
 #emerge --info
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.10.17-gentoo x86_64)
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     6016112 total,    113932 free
KiB Swap:   12287996 total,  12125096 free
Timestamp of tree: Tue, 27 Jan 2015 07:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sunrise betagarden
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.wetzlmayr.com/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/betagarden"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx berkdb bluray branding bzip2 cdinstall cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dri dts dvdr fortran gdbm gtk handbook iconv icu ipv6 kde latex libnotify mmx mmxext modules multilib ncurses nls nptl nsplugin offensive opengl openmp openrc pam pcre pm-utils policykit qt4 readline sdl semantic-desktop session smp sse sse2 sse3 sse4 ssl ssse3 tcpd threads udev unicode usb wifi xulrunner xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by <3 on Fri Jan 30, 2015 8:04 pm; edited 4 times in total
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Tue Jan 27, 2015 10:05 am    Post subject: Reply with quote

It doubled on my machine since the 36 version. How much RAM and /var/tmp do you have?

That's from i7-4800MQ with 16GB of RAM and 12GB of /var/tmp on SSD with MAKEOPTS="-j7":
Code:
$ qlop -tHvg chromium
chromium-36.0.1985.143: Thu Aug 21 17:56:07 2014: 35 minutes, 44 seconds
chromium-37.0.2062.94: Thu Aug 28 11:45:16 2014: 43 minutes, 7 seconds
chromium-37.0.2062.120: Mon Sep 15 20:11:02 2014: 38 minutes, 44 seconds
chromium-38.0.2125.101: Thu Oct  9 14:48:36 2014: 57 minutes, 1 second
chromium-38.0.2125.101: Fri Oct 24 13:06:42 2014: 50 minutes, 12 seconds
chromium-38.0.2125.101: Tue Nov  4 14:08:59 2014: 56 minutes, 14 seconds
chromium-39.0.2171.65: Wed Nov 26 14:49:30 2014: 59 minutes, 25 seconds
chromium: 7 times
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Jan 27, 2015 4:28 pm    Post subject: Reply with quote

This is on my laptop which is a Core i7-2530QM 2.00Ghz (Sandy Bridge) octa-core (4 physical & 4 virtual cores [hyperthreading]) with 6 GB of ram.

Last edited by <3 on Tue Jan 27, 2015 10:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Jan 27, 2015 4:40 pm    Post subject: Reply with quote

I've never used this qlop program before but something looks fishy

Code:
#qlop -tHvg chromium
chromium-31.0.1650.63: Sun Dec 22 07:23:49 2013: 56 minutes, 8 seconds
chromium-31.0.1650.63: Tue Jan  7 08:33:09 2014: 2 hours, 16 minutes, 56 seconds
chromium-32.0.1700.77: Fri Jan 17 18:18:53 2014: 1 hour, 3 minutes, 41 seconds
chromium-32.0.1700.77: Sun Jan 26 22:11:37 2014: 1 hour, 15 minutes, 10 seconds
chromium-32.0.1700.102: Sun Feb  2 22:39:22 2014: 1 hour, 11 minutes, 43 seconds
chromium-33.0.1750.117: Sat Feb 22 02:56:42 2014: 1 hour, 12 minutes, 4 seconds
chromium-33.0.1750.146: Sat Mar  8 05:25:25 2014: 1 day, 9 hours, 38 minutes, 21 seconds
chromium-33.0.1750.149: Fri Mar 14 21:54:50 2014: 10 hours, 23 minutes, 26 seconds
chromium-33.0.1750.152: Wed Mar 19 07:59:41 2014: 2 days, 13 hours, 46 minutes, 58 seconds
chromium-34.0.1847.116: Sat Apr 12 04:40:17 2014: 2 hours, 31 minutes, 30 seconds
chromium-34.0.1847.132: Mon Apr 28 00:14:40 2014: 2 hours, 30 minutes, 46 seconds
chromium-34.0.1847.137: Mon May 19 00:44:11 2014: 2 hours, 32 minutes, 19 seconds
chromium-35.0.1916.114-r1: Sun May 25 11:24:19 2014: 2 hours, 42 minutes, 50 seconds
chromium-35.0.1916.114-r1: Sat Jun  7 01:34:49 2014: 1 hour, 10 minutes, 33 seconds
chromium-35.0.1916.153: Sat Jun 14 05:03:07 2014: 1 hour, 13 minutes, 42 seconds
chromium-36.0.1985.125: Sun Jul 27 15:14:04 2014: 2 hours, 52 minutes, 20 seconds
chromium-36.0.1985.143: Sat Aug 16 11:59:14 2014: 1 hour, 30 minutes, 18 seconds
chromium-37.0.2062.94: Wed Aug 27 23:10:29 2014: 1 hour, 18 minutes, 10 seconds
chromium-37.0.2062.120: Thu Sep 18 00:18:21 2014: 19 days, 1 hour, 14 minutes, 15 seconds
chromium-38.0.2125.101: Fri Oct 10 22:15:00 2014: 13 hours, 55 minutes, 0 seconds
chromium-38.0.2125.101: Sat Oct 25 06:06:06 2014: 9 hours, 19 minutes, 31 seconds
chromium-38.0.2125.101: Sun Nov  9 15:11:40 2014: 4 hours, 55 minutes, 2 seconds
chromium-39.0.2171.65: Sat Nov 22 07:29:15 2014: 12 hours, 54 minutes, 15 seconds
chromium-40.0.2214.91: Mon Jan 26 19:09:29 2015: 4 hours, 47 minutes, 34 seconds
chromium: 24 times


It says that chromium-37.0.2062.120 took 19 days to compile, I am sure I have never compiled anything for 19 days, if it really took 19 days I would uninstall it immediately or move to a binary distro. I'm guessing I may have changed the system clock during the emerge but I don't remember doing that. Anyways this qlop program still shows abnormally long compile times. Also note chromium-33.0.1750.152: took 2 days according to qlop.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Wed Jan 28, 2015 3:44 am    Post subject: Reply with quote

so I guess I'm the only one having long compile times with chromium?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Wed Jan 28, 2015 10:43 am    Post subject: Reply with quote

It's long for everyone. Just not that long.

Also the issue with multi-day times from qlop are interesting.

Don't really know how to help you with that.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Wed Jan 28, 2015 11:04 am    Post subject: Reply with quote

on my other gentoo install on another computer chromium builds were about 45 mins long. never multiple hours long. so yes I understand that. But there is a big difference between 45mins and 4 hours.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Tue Feb 17, 2015 5:20 am    Post subject: Reply with quote

Maybe I should just un-install Chromium to deal with this issue?
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Tue Feb 17, 2015 7:13 am    Post subject: Reply with quote

You've got 6GB of RAM and are using MAKEOPTS="-j9". You're probably swapping, which would account for serious slow down. Not sure it would account for multi-day compile times, but maybe it could... compiling in swap is sloooooooow.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Wed Feb 18, 2015 1:44 pm    Post subject: Reply with quote

Wow swapping with 6GB of ram? Even libreoffice is compiling faster than Chromium.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Wed Feb 18, 2015 10:52 pm    Post subject: Reply with quote

Can you compare qlop output with genlop -t?
Code:
# genlop -t chromium
 * www-client/chromium

     Thu Oct  2 15:26:43 2014 >>> www-client/chromium-37.0.2062.120
       merge time: 1 hour, 28 minutes and 59 seconds.

     Wed Oct  8 22:46:51 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 2 hours and 17 seconds.

     Thu Oct 23 22:30:40 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 2 hours, 1 minute and 9 seconds.

     Wed Nov  5 03:01:38 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 2 hours, 2 minutes and 34 seconds.

     Fri Nov 21 22:26:38 2014 >>> www-client/chromium-39.0.2171.65
       merge time: 2 hours, 13 minutes and 2 seconds.

     Sun Jan 25 23:31:33 2015 >>> www-client/chromium-40.0.2214.91
       merge time: 2 hours, 19 minutes and 47 seconds.

     Sun Feb  8 23:14:06 2015 >>> www-client/chromium-40.0.2214.111
       merge time: 2 hours, 10 minutes and 56 seconds.

     Mon Feb 16 03:35:05 2015 >>> www-client/chromium-40.0.2214.111
       merge time: 2 hours, 11 minutes and 46 seconds.

#

Apart from clock changes, there can be legitimate reasons for unusual compile times, by which I mean, say, factor of 2 rather than 20. E.g. compiling on battery, or using an insufficient power adapter. Naturally, both of those apply to laptops only.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Thu Feb 19, 2015 1:59 pm    Post subject: Reply with quote

This is on a laptop and I am using the power cord that the laptop was bought with. I would never emerge anything without the machine being plugged in for fear the battery would die during compilation.
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Thu Feb 19, 2015 2:20 pm    Post subject: Reply with quote

You can just put the laptop to sleep during emerge, if you're running low on battery. Or Ctrl+C it in the compile phase.
Back to top
View user's profile Send private message
ShanaXXII
Apprentice
Apprentice


Joined: 29 Jun 2014
Posts: 283
Location: Canada

PostPosted: Fri Feb 20, 2015 1:33 am    Post subject: Reply with quote

I don't really think you need swap.
My laptop only has 4Gb RAM and it has never run out of RAM once. (-j5)
It has sometimes gotten close, but that was mostly because of multiple compilations.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sun Feb 22, 2015 3:34 pm    Post subject: Reply with quote

can someone else post their compile times and system specs so that I can compare? I want to know if this issue is affecting my system only. I have a Core i7-2630QM 8 core (4 logical, 4 virtual cores, hyperthreading) 6GB ram physical hard drive with 150GB space free and a 12GB swap partition. gcc version 4.8.3, glibc version 2.19-r1 MAKEOPTS="-j9" ccache-3.19-r4
Back to top
View user's profile Send private message
dweezil-n0xad
Apprentice
Apprentice


Joined: 30 Oct 2006
Posts: 156
Location: Ostend, Belgium

PostPosted: Mon Feb 23, 2015 2:44 pm    Post subject: Reply with quote

Code:
# genlop -t chromium
 * www-client/chromium

Mon Feb 23 15:04:31 2015 >>> www-client/chromium-41.0.2272.64
       merge time: 46 minutes and 21 seconds.
specs: i7-4790K CPU @ 4.00GHz, 16GB DDR3 1600MHz CL9, no swap, /var/tmp/ is 8GB tmpfs, / is on a Samsung SSD 840 EVO 500GB, MAKEOPTS="-j8"
gcc 4.9.2 (with profiledbootstrap), glibc 2.20-r2
_________________
i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD
Back to top
View user's profile Send private message
RayOfLight
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2013
Posts: 108
Location: Catalunya

PostPosted: Mon Feb 23, 2015 4:29 pm    Post subject: Reply with quote

Code:
 * www-client/chromium

     Mon Nov 18 20:56:34 2013 >>> www-client/chromium-31.0.1650.57
       merge time: 1 hour, 35 minutes and 44 seconds.

     Sat Nov 23 06:03:32 2013 >>> www-client/chromium-31.0.1650.57
       merge time: 2 hours, 17 minutes and 40 seconds.

     Sat Dec  7 15:11:04 2013 >>> www-client/chromium-31.0.1650.63
       merge time: 2 hours, 37 minutes and 10 seconds.

     Mon Jan  6 04:19:46 2014 >>> www-client/chromium-31.0.1650.63
       merge time: 2 hours, 40 minutes and 45 seconds.

     Sun Jan 19 04:49:41 2014 >>> www-client/chromium-32.0.1700.77
       merge time: 2 hours, 40 minutes and 10 seconds.

     Sun Feb  9 02:27:00 2014 >>> www-client/chromium-32.0.1700.102
       merge time: 1 hour, 50 minutes and 57 seconds.

     Tue Feb 25 00:02:11 2014 >>> www-client/chromium-33.0.1750.117
       merge time: 1 hour, 13 minutes and 11 seconds.

     Sun Mar  2 04:22:33 2014 >>> www-client/chromium-35.0.1862.2
       merge time: 1 hour, 21 minutes and 3 seconds.

     Thu Mar 20 20:41:07 2014 >>> www-client/chromium-33.0.1750.152
       merge time: 54 minutes and 31 seconds.

     Mon Apr 14 15:27:35 2014 >>> www-client/chromium-34.0.1847.116
       merge time: 1 hour, 40 minutes and 26 seconds.

     Mon Apr 28 11:56:56 2014 >>> www-client/chromium-34.0.1847.132
       merge time: 1 hour, 36 minutes and 21 seconds.

     Tue May 20 21:24:08 2014 >>> www-client/chromium-34.0.1847.137
       merge time: 1 hour, 19 minutes and 17 seconds.

     Thu May 22 05:36:16 2014 >>> www-client/chromium-35.0.1916.114-r1
       merge time: 1 hour, 59 minutes and 10 seconds.

     Sun Jun  1 19:02:36 2014 >>> www-client/chromium-35.0.1916.114-r1
       merge time: 1 hour, 15 minutes and 21 seconds.

     Sat Jun 14 08:56:56 2014 >>> www-client/chromium-35.0.1916.153
       merge time: 2 hours, 6 minutes and 29 seconds.

     Sat Jul 19 00:03:54 2014 >>> www-client/chromium-36.0.1985.125
       merge time: 2 hours, 43 minutes and 56 seconds.

     Thu Aug 21 04:44:53 2014 >>> www-client/chromium-36.0.1985.143
       merge time: 2 hours, 10 minutes and 52 seconds.

     Tue Sep  2 01:27:32 2014 >>> www-client/chromium-37.0.2062.94
       merge time: 2 hours, 31 minutes and 46 seconds.

     Wed Sep 17 09:39:04 2014 >>> www-client/chromium-37.0.2062.120
       merge time: 2 hours, 2 minutes and 40 seconds.

     Sat Oct 11 11:28:42 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 2 hours, 50 minutes and 2 seconds.

     Mon Nov  3 04:17:21 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 1 hour, 32 minutes and 25 seconds.

     Wed Nov 12 19:12:27 2014 >>> www-client/chromium-38.0.2125.101
       merge time: 1 hour, 17 minutes and 12 seconds.

     Sun Nov 23 20:23:52 2014 >>> www-client/chromium-39.0.2171.65
       merge time: 2 hours, 39 minutes and 46 seconds.

     Sun Jan 25 05:11:56 2015 >>> www-client/chromium-40.0.2214.91
       merge time: 2 hours, 41 minutes and 36 seconds.

     Fri Feb 13 22:41:44 2015 >>> www-client/chromium-40.0.2214.111
       merge time: 1 hour, 49 minutes and 37 seconds.

     Wed Feb 18 06:25:57 2015 >>> www-client/chromium-40.0.2214.111
       merge time: 2 hours, 36 minutes and 38 seconds.


Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz, 10GB DDR3-1600 RAM, Samsung SSD 840 256GB, using distcc on wifi-n 150Mbps(only theorical) with a distcc server with Intel(R) Core(TM)2 Extreme CPU X9650 @2.33Ghz(I've got to recheck this one), 4GB DDR2-800, and /usr/portage and distfiles on a different nfs server. :) (yea, I think I'm on the slow side :()

FEATURES="distcc"
MAKEOPTS="-j12 -l4"
no swap anywhere, 8GB tmpfs
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 493

PostPosted: Tue Feb 24, 2015 4:48 am    Post subject: Reply with quote

For me, it grows from 30min to just under 3 hours.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Thu Feb 26, 2015 8:09 pm    Post subject: Reply with quote

Thank you guys, maybe I'm making a fuss over nothing. I guess I will leave it be till a real problem arrives.
Back to top
View user's profile Send private message
zsitvaij
n00b
n00b


Joined: 11 Jan 2006
Posts: 74

PostPosted: Thu Feb 26, 2015 9:06 pm    Post subject: Reply with quote

There's the option to build with clang in the latest masked packages of 42.*, and simply copy-pasting the changes to 40.* and 41.* worked for me to reduce build times by 1/2-1/3 depending on system:

core 2 duo 5870 @ 2 ghz:
Code:
     Wed Feb  4 06:47:14 2015 >>> www-client/chromium-40.0.2214.93
       merge time: 6 hours, 37 minutes and 41 seconds.

     Thu Feb 19 19:29:45 2015 >>> www-client/chromium-40.0.2214.111
       merge time: 4 hours, 21 minutes and 56 seconds.


core i3 550 @ 3.2 ghz:
Code:
     Tue Feb 10 07:02:42 2015 >>> www-client/chromium-41.0.2272.35
       merge time: 4 hours, 37 minutes and 58 seconds.

     Fri Feb 20 17:36:14 2015 >>> www-client/chromium-41.0.2272.35
       merge time: 2 hours, 9 minutes and 46 seconds.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Nov 25, 2016 1:13 pm    Post subject: Reply with quote

Scheduler-issues and cpu governor issues [intel_pstate, ondemand not properly clocking up the CPU] can also account for that:

Quote:
genlop -t chromium
* www-client/chromium

Wed Mar 2 20:22:51 2016 >>> www-client/chromium-49.0.2623.28
merge time: 2 hours, 27 minutes and 18 seconds.

Wed Mar 16 21:53:59 2016 >>> www-client/chromium-49.0.2623.87-r1
merge time: 2 hours, 39 minutes.

Mon Mar 28 21:57:26 2016 >>> www-client/chromium-51.0.2687.0
merge time: 2 hours, 58 minutes and 11 seconds.

Tue May 10 02:05:47 2016 >>> www-client/chromium-51.0.2704.22
merge time: 3 hours, 11 minutes and 25 seconds.

Mon May 23 00:48:11 2016 >>> www-client/chromium-52.0.2723.2
merge time: 2 hours, 57 minutes and 1 second.

Sat Jun 11 20:20:53 2016 >>> www-client/chromium-53.0.2756.0
merge time: 2 hours, 52 minutes and 39 seconds.

Tue Jul 26 23:58:50 2016 >>> www-client/chromium-53.0.2785.21
merge time: 2 hours, 52 minutes and 51 seconds.

Thu Sep 1 18:49:31 2016 >>> www-client/chromium-54.0.2840.6
merge time: 1 hour, 46 minutes.

Thu Sep 1 19:12:41 2016 >>> www-client/chromium-53.0.2785.21
merge time: 13 seconds.

Fri Sep 2 17:11:31 2016 >>> www-client/chromium-53.0.2785.89
merge time: 1 hour, 32 minutes and 51 seconds.

Mon Sep 19 20:51:46 2016 >>> www-client/chromium-54.0.2840.27
merge time: 1 hour, 56 minutes and 27 seconds.

Mon Oct 3 19:38:49 2016 >>> www-client/chromium-55.0.2873.0
merge time: 1 hour, 55 minutes and 51 seconds.


model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Nov 26, 2016 8:28 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Scheduler-issues and cpu governor issues [intel_pstate, ondemand not properly clocking up the CPU] can also account for that:

ondemand is obsolete nowadays, cpufreq-schedutil beats the crap out of it. (Stick with intel_pstate if you have it though, it's basically hardware-accelerated schedutil)
Back to top
View user's profile Send private message
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Mon Feb 13, 2017 2:12 pm    Post subject: Reply with quote

First, I'm sorry to reply to this old thread but I'm curious to understand why it takes so long to build Chromium nowadays. I know that it is long for everyone but I'm wondering what has changed to get an almost 3 hours long merge.

For the last Chromium compilation, I mounted /var/tmp/portage as tmpfs. It improved the compile time slightly but it is not amazing.

Compile times on my computer (see emerge --info below)
Code:
thomas@gentoo ~ % sudo qlop -tHvg chromium         
chromium-27.0.1453.93: Sat Jun  1 16:10:54 2013: 44 minutes, 35 seconds
chromium-27.0.1453.110: Tue Jun 18 18:49:21 2013: 37 minutes, 28 seconds
chromium-28.0.1500.95: Thu Aug  8 11:40:58 2013: 1 day, 7 hours, 25 minutes, 39 seconds
chromium-29.0.1547.57: Sat Aug 24 16:02:07 2013: 1 hour, 35 minutes, 46 seconds
chromium-30.0.1599.101: Fri Nov  1 16:54:34 2013: 31 minutes, 28 seconds
chromium-31.0.1650.63: Sun Jan  5 18:30:42 2014: 33 minutes, 52 seconds
chromium-31.0.1650.63: Thu Jan  9 20:33:11 2014: 1 hour, 6 minutes, 40 seconds
chromium-32.0.1700.77: Sat Jan 18 13:35:00 2014: 37 minutes, 45 seconds
chromium-32.0.1700.102: Fri Jan 31 18:44:13 2014: 1 hour, 18 minutes, 37 seconds
chromium-33.0.1750.117: Sat Feb 22 09:36:33 2014: 1 hour, 15 minutes, 57 seconds
chromium-33.0.1750.146: Wed Mar  5 20:42:14 2014: 46 minutes, 38 seconds
chromium-33.0.1750.149: Sat Mar 15 17:41:37 2014: 42 minutes, 26 seconds
chromium-33.0.1750.152: Tue Mar 18 21:04:49 2014: 3 days, 18 hours, 16 minutes, 38 seconds
chromium-34.0.1847.132: Sat May  3 18:01:57 2014: 48 minutes, 36 seconds
chromium-35.0.1916.153: Sat Jul 12 21:07:34 2014: 50 minutes, 15 seconds
chromium-36.0.1985.125: Thu Jul 24 00:08:06 2014: 53 minutes, 11 seconds
chromium-36.0.1985.125: Thu Aug 14 00:50:43 2014: 49 minutes, 18 seconds
chromium-36.0.1985.143: Sun Aug 17 17:35:37 2014: 1 hour, 9 minutes, 29 seconds
chromium-37.0.2062.94: Thu Aug 28 19:35:11 2014: 1 hour, 8 minutes, 25 seconds
chromium-37.0.2062.120: Sun Sep 21 16:28:21 2014: 1 hour, 29 minutes, 0 seconds
chromium-39.0.2171.65: Sat Dec 20 19:03:38 2014: 1 hour, 9 minutes, 8 seconds
chromium-41.0.2272.76: Mon Mar 23 11:54:18 2015: 1 hour, 26 minutes, 12 seconds
chromium-43.0.2357.65: Thu May 21 20:36:08 2015: 1 hour, 49 minutes, 10 seconds
chromium-43.0.2357.65: Sat May 30 14:59:20 2015: 1 hour, 24 minutes, 15 seconds
chromium-44.0.2403.89: Sat Aug  1 18:11:10 2015: 1 hour, 22 minutes, 12 seconds
chromium-45.0.2454.101: Tue Sep 29 13:22:39 2015: 1 hour, 47 minutes, 59 seconds
chromium-47.0.2526.106: Sat Jan 16 11:31:19 2016: 1 hour, 25 minutes, 32 seconds
chromium-49.0.2623.75: Sat Mar  5 18:01:01 2016: 1 hour, 29 minutes, 19 seconds
chromium-52.0.2743.116: Sat Aug 20 19:03:10 2016: 2 hours, 27 minutes, 22 seconds
chromium-55.0.2883.75: Thu Jan 19 21:11:42 2017: 1 day, 15 hours, 4 minutes, 55 seconds
chromium-56.0.2924.76: Sat Jan 28 19:12:39 2017: 2 hours, 45 minutes, 28 seconds
chromium-56.0.2924.76-r1: Sat Feb  4 10:18:13 2017: 2 hours, 57 minutes, 3 seconds
chromium-56.0.2924.76-r1: Sat Feb  4 15:15:10 2017: 2 hours, 45 minutes, 23 seconds


Emerge --info
Code:
thomas@gentoo ~ % emerge --info
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.3
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.9.9 x86_64)
=================================================================
System uname: Linux-4.9.9-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.3
KiB Mem:    20497788 total,  18571256 free
KiB Swap:    2064380 total,   2064380 free
Timestamp of repository gentoo: Sat, 11 Feb 2017 16:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi avx bash-completion branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gcj gdbm gif glamor glibc-omitfp gphoto2 gpm iconv ipv6 java6 jpeg kde kdeenablefinal kdehiddenvisibility kipi libnotify live mad mmx mmxext mng modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nptl nptlonly ogg openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline samba seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="sse sse2 3dnow 3dnowext mmx mmxext avx ssse3 sse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" LIRC_DEVICES="devinput inputlirc" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Do you have any tips to to shorten the compilation time ?

I read the bug report about building Chromium with clang but it was related to old version. Can we build the current version of chromium out of the box with clang ? Have you noticed any time improvement ?

Thank you

Thomas
Back to top
View user's profile Send private message
kharitonow
n00b
n00b


Joined: 10 Dec 2015
Posts: 38

PostPosted: Mon Feb 13, 2017 2:20 pm    Post subject: Reply with quote

Hi Tom,

you can enable ccache feature in your make.conf (see wiki) to boost future builds of chromium.

Tom_ wrote:
First, I'm sorry to reply to this old thread but I'm curious to understand why it takes so long to build Chromium nowadays. I know that it is long for everyone but I'm wondering what has changed to get an almost 3 hours long merge.

For the last Chromium compilation, I mounted /var/tmp/portage as tmpfs. It improved the compile time slightly but it is not amazing.

Compile times on my computer (see emerge --info below)
Code:
thomas@gentoo ~ % sudo qlop -tHvg chromium         
chromium-27.0.1453.93: Sat Jun  1 16:10:54 2013: 44 minutes, 35 seconds
chromium-27.0.1453.110: Tue Jun 18 18:49:21 2013: 37 minutes, 28 seconds
chromium-28.0.1500.95: Thu Aug  8 11:40:58 2013: 1 day, 7 hours, 25 minutes, 39 seconds
chromium-29.0.1547.57: Sat Aug 24 16:02:07 2013: 1 hour, 35 minutes, 46 seconds
chromium-30.0.1599.101: Fri Nov  1 16:54:34 2013: 31 minutes, 28 seconds
chromium-31.0.1650.63: Sun Jan  5 18:30:42 2014: 33 minutes, 52 seconds
chromium-31.0.1650.63: Thu Jan  9 20:33:11 2014: 1 hour, 6 minutes, 40 seconds
chromium-32.0.1700.77: Sat Jan 18 13:35:00 2014: 37 minutes, 45 seconds
chromium-32.0.1700.102: Fri Jan 31 18:44:13 2014: 1 hour, 18 minutes, 37 seconds
chromium-33.0.1750.117: Sat Feb 22 09:36:33 2014: 1 hour, 15 minutes, 57 seconds
chromium-33.0.1750.146: Wed Mar  5 20:42:14 2014: 46 minutes, 38 seconds
chromium-33.0.1750.149: Sat Mar 15 17:41:37 2014: 42 minutes, 26 seconds
chromium-33.0.1750.152: Tue Mar 18 21:04:49 2014: 3 days, 18 hours, 16 minutes, 38 seconds
chromium-34.0.1847.132: Sat May  3 18:01:57 2014: 48 minutes, 36 seconds
chromium-35.0.1916.153: Sat Jul 12 21:07:34 2014: 50 minutes, 15 seconds
chromium-36.0.1985.125: Thu Jul 24 00:08:06 2014: 53 minutes, 11 seconds
chromium-36.0.1985.125: Thu Aug 14 00:50:43 2014: 49 minutes, 18 seconds
chromium-36.0.1985.143: Sun Aug 17 17:35:37 2014: 1 hour, 9 minutes, 29 seconds
chromium-37.0.2062.94: Thu Aug 28 19:35:11 2014: 1 hour, 8 minutes, 25 seconds
chromium-37.0.2062.120: Sun Sep 21 16:28:21 2014: 1 hour, 29 minutes, 0 seconds
chromium-39.0.2171.65: Sat Dec 20 19:03:38 2014: 1 hour, 9 minutes, 8 seconds
chromium-41.0.2272.76: Mon Mar 23 11:54:18 2015: 1 hour, 26 minutes, 12 seconds
chromium-43.0.2357.65: Thu May 21 20:36:08 2015: 1 hour, 49 minutes, 10 seconds
chromium-43.0.2357.65: Sat May 30 14:59:20 2015: 1 hour, 24 minutes, 15 seconds
chromium-44.0.2403.89: Sat Aug  1 18:11:10 2015: 1 hour, 22 minutes, 12 seconds
chromium-45.0.2454.101: Tue Sep 29 13:22:39 2015: 1 hour, 47 minutes, 59 seconds
chromium-47.0.2526.106: Sat Jan 16 11:31:19 2016: 1 hour, 25 minutes, 32 seconds
chromium-49.0.2623.75: Sat Mar  5 18:01:01 2016: 1 hour, 29 minutes, 19 seconds
chromium-52.0.2743.116: Sat Aug 20 19:03:10 2016: 2 hours, 27 minutes, 22 seconds
chromium-55.0.2883.75: Thu Jan 19 21:11:42 2017: 1 day, 15 hours, 4 minutes, 55 seconds
chromium-56.0.2924.76: Sat Jan 28 19:12:39 2017: 2 hours, 45 minutes, 28 seconds
chromium-56.0.2924.76-r1: Sat Feb  4 10:18:13 2017: 2 hours, 57 minutes, 3 seconds
chromium-56.0.2924.76-r1: Sat Feb  4 15:15:10 2017: 2 hours, 45 minutes, 23 seconds


Emerge --info
Code:
thomas@gentoo ~ % emerge --info
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.3
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.9.9 x86_64)
=================================================================
System uname: Linux-4.9.9-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.3
KiB Mem:    20497788 total,  18571256 free
KiB Swap:    2064380 total,   2064380 free
Timestamp of repository gentoo: Sat, 11 Feb 2017 16:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi avx bash-completion branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gcj gdbm gif glamor glibc-omitfp gphoto2 gpm iconv ipv6 java6 jpeg kde kdeenablefinal kdehiddenvisibility kipi libnotify live mad mmx mmxext mng modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nptl nptlonly ogg openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline samba seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="sse sse2 3dnow 3dnowext mmx mmxext avx ssse3 sse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" LIRC_DEVICES="devinput inputlirc" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nv nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Do you have any tips to to shorten the compilation time ?

I read the bug report about building Chromium with clang but it was related to old version. Can we build the current version of chromium out of the box with clang ? Have you noticed any time improvement ?

Thank you

Thomas
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Feb 14, 2017 2:59 am    Post subject: Reply with quote

kharitonow wrote:
Hi Tom,
you can enable ccache feature in your make.conf (see wiki) to boost future builds of chromium.
This is a common claim, but the circumstances where it holds true are fairly narrow. Using ccache only helps when the cache is big enough to hold all the object files and when all the sources for a given object are unchanged. When you upgrade to a new version of Chromium, it is very likely that most or all of the sources will be changed enough that ccache will not help you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum