curve icon indicating copy to clipboard operation
curve copied to clipboard

[tools-v2]:better build tools-v2

Open Cyber-SiKu opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

Currently compiling tools-v2 is in the main process of compiling and cannot be skipped. Even the same as below will compile. Please optimize this.

make build stor=fs release=1 only=curvefs/src/metaserver/*

Describe the solution you'd like (描述你期望的解决方法)

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

Cyber-SiKu avatar Jun 30 '23 08:06 Cyber-SiKu

Hello, I have located the location that needs to be modified. I would like to discuss with you when we need to compile tools-v2 and when not. :)

zztaki avatar Dec 22 '23 02:12 zztaki

A simple way is if we specify only (alias g_target) then we don't compile it.

zztaki avatar Dec 22 '23 02:12 zztaki

Or we add add an independent parameter (eg. skiptools) to specify whether to skip the compilation of tools-v2

zztaki avatar Dec 22 '23 03:12 zztaki

Adding new parameters seems unnecessary, welcome to do it. @zztaki

montaguelhz avatar Jan 05 '24 09:01 montaguelhz

Adding new parameters seems unnecessary, welcome to do it. @zztaki

Thank you for your help :) @montaguelhz

zztaki avatar Jan 05 '24 09:01 zztaki