Skip to contentSkip to conversation

Speeding up Linux kernel compiles using -pipe?

DISCUSSION Shawn Starr 4 participants 5 messages Jun 25, 2003 – Jun 26, 2003

lore
Share & tools
lore
#0 lore raw

Why aren't we using -pipe? It can significantly speed up compiles by not writing temp files (intermediate files).

I don't see harm in adding this?

What do you all think?

Shawn.

#1 lore raw
Quoted 2 lines · Shawn Starr

Why aren't we using -pipe? It can significantly speed up compiles by not writing temp files (intermediate files).

Most architectures already uses -pipe - see arch/*/Makefile:

[sam@mars v2.5]$ ls arch/*/Makefile | xargs grep -l -- -pipe | wc -l

     17
[sam@mars v2.5]$ ls arch/*/Makefile | wc -l
     21


	Sam
#3 lore raw

Nevermind, We are using pipe, I just didn't see due to the new Makefile output (V=1) shows me we are using pipe, at least for ia32.

Shawn S.

-----Original Message-----
From: Anton Blanchard [mailto:[email protected]]
Sent: Wednesday, June 25, 2003 1:30 AM
To: Shawn Starr
Cc: [email protected]
Subject: Re: Speeding up Linux kernel compiles using -pipe?

Quoted 2 lines

Why aren't we using -pipe? It can significantly speed up compiles by not writing temp files (intermediate files).

I thought we were. Do you have results to show it speeds up kernel compiles? I found the opposite when using ext2:

http://www.ussg.iu.edu/hypermail/linux/kernel/0212.1/0040.html

Anton

#4 lore raw
Quoted 2 lines · Shawn Starr

Nevermind, We are using pipe, I just didn't see due to the new Makefile output (V=1) shows me we are using pipe, at least for ia32.

Unless something has changed recently, -pipe is actually a slowdown.

-Mike