Opened 8 months ago

Closed 5 months ago

#1402 closed defect (fixed)

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

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.3
Component: build system Version: development
Keywords: Cc: dmisev
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 Changed 8 months ago by bphamhuu

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 Changed 6 months ago by dmisev

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

comment:3 Changed 6 months ago by bphamhuu

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 Changed 5 months ago by bphamhuu

  • Owner set to bphamhuu
  • Status changed from new to assigned

comment:5 Changed 5 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in ticket:1432

Note: See TracTickets for help on using tickets.