Opened 8 years ago

Closed 7 years ago

#1402 closed defect (fixed)

Build_No need to rebuild rasj, petascope, secore with make install

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.3
Component: build system Version: development
Keywords: Cc: Dimitar Misev
Complexity: Easy

Description

As I see, with make these applications were built but with make install it will rebuild again and cost more than 1' for build again then will copy to install folder.

Change History (5)

comment:1 by Bang Pham Huu, 8 years ago

It is quite hard to edit Cmake build, I managed to change to make it only build e.g def.war does not exist in build/application/secore then it will build and make install will not build again.

https://www.diffchecker.com/4SkDTSSK

However, this also has a disadvantage is if run make again, it will not rebuild (so in case when have a change in secore source code, it will not rebuild). Still need to find a workaround to rebuild when run make explicitly but not make check.

comment:2 by Dimitar Misev, 7 years ago

Hm but then your fix is incorrect if it doesn't rebuild when the sources have changed.

comment:3 by Bang Pham Huu, 7 years ago

actually, I found the workaround in Cmake.

here

set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)

I will close it when I test it again.

comment:4 by Bang Pham Huu, 7 years ago

Owner: set to Bang Pham Huu
Status: newassigned

comment:5 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: assignedclosed

fixed in ticket:1432

Note: See TracTickets for help on using tickets.