build/release takes forever (freedom_bootloader)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

build/release takes forever (freedom_bootloader)

ソリューションへジャンプ
4,600件の閲覧回数
roymessinger
Contributor V

I've tried in various computers with KDS 3.2.0, all Win7. One of them with 32GB of RAM (Intel Xeon, E5-2620 - a heavy load computer). All of them takes to build this project a few minutes to 20 minutes (i see in the console each file is being built one after the other, and it takes time..).

Only in one computer (my private desktop with 32GB, SSD as hard drive, WIN 8.1) it takes few seconds, and the file is being built in super fast speed.

Any idea how come? it cannot be the SSD is the reason for that. The difference in the time is amazing.

Roy

0 件の賞賛
返信
1 解決策
4,314件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Roy,

I have seen some virus scanner slowing down things by a factor of 10-20.

And: Can you check your PATH settings? maybe there is something in it to reach out on remote network drives?

Erich

元の投稿で解決策を見る

9 返答(返信)
4,314件の閲覧回数
jasonscott
Contributor IV

Kaspersky was a huge drain on the compile times, i disabled it and it takes seconds as to a half hour.

0 件の賞賛
返信
4,314件の閲覧回数
marceli1
Contributor III

I recommend change OS to Windows10, which is much faster.

0 件の賞賛
返信
4,314件の閲覧回数
bobpaddock
Senior Contributor IV

Directories that do not exist and are in the PATH can slow GCC to a crawl.

There was a similar thread posted about slow compile times last fall, may find something helpful in that one.

4,314件の閲覧回数
roymessinger
Contributor V

Since the projects in all computers are exactly the same, the virus scanner seems a pretty good place to start.

Thanks for that.

I did not understand the directories which do not exist, though. How/where do I see these references to those directories?

0 件の賞賛
返信
4,314件の閲覧回数
BlackNight
NXP Employee
NXP Employee

It is basically your system PATH (on Windows). You can check it here (Window > Preferences):

pastedImage_1.png

They are inherited for the settings in the Project:

pastedImage_2.png

So when it launches the compiler, it will use that PATH for locating the binaries.

There is another setting where you could specify a custom path to your toolchain here:

pastedImage_3.png

I keep this empty (by default) so it uses the compiler found in PATH above.

I hope this helps,

Erich

0 件の賞賛
返信
4,314件の閲覧回数
roymessinger
Contributor V

My build variables are empty. Is this ok?

0 件の賞賛
返信
4,314件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Have you checked 'show system variables'?

0 件の賞賛
返信
4,314件の閲覧回数
roymessinger
Contributor V

Silly me :smileyhappy:

It's still very very slow. Probably the anti virus. Thanks.

0 件の賞賛
返信
4,315件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Roy,

I have seen some virus scanner slowing down things by a factor of 10-20.

And: Can you check your PATH settings? maybe there is something in it to reach out on remote network drives?

Erich