build/release takes forever (freedom_bootloader)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

build/release takes forever (freedom_bootloader)

跳至解决方案
4,562 次查看
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,276 次查看
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,276 次查看
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,276 次查看
marceli1
Contributor III

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

0 项奖励
回复
4,276 次查看
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,276 次查看
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,276 次查看
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,276 次查看
roymessinger
Contributor V

My build variables are empty. Is this ok?

0 项奖励
回复
4,276 次查看
BlackNight
NXP Employee
NXP Employee

Have you checked 'show system variables'?

0 项奖励
回复
4,276 次查看
roymessinger
Contributor V

Silly me :smileyhappy:

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

0 项奖励
回复
4,277 次查看
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