Refactoring #1476

Feature #418: === Configuration & Build ===

Envelope task #1602: == CMake configuration, dependences ==

Revise installation directory structure under Linux

Added by ganeva about 3 years ago. Updated about 1 year ago.

Status:BacklogStart date:22 Jun 2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

After the recent refactoring of the cmake files, in the lib/BornAgain1.5 folder appear BornAgain executable file and a bornagain directory. This causes problems on the case-insensitive file systems.

As a temporary solution BornAgain executable has been moved to lib/BornAgain1.5/exec/. However, this needs to be refactored. During refactoring, we have to conform as much as possible to the Filesystem Hierarchy Standard

History

#1 Updated by herck about 3 years ago

  • Description updated (diff)

#2 Updated by pospelov about 3 years ago

I thinks this item, as well as #1070 should be replaced with one, single, well planned item - "Refactor installation directory structure".

We have to decide how we want our installation directory structure looks like
  • Under Linux (under different installation scenarios)
  • Under MacOS (in unix-like mode, in bundle-mode, potentially in homebrew/macport modes)
  • Under Windows

My point is that we can't smear this kind of activity over long period, or solve it first for Linux, and then later introduce some changes for Mac, etc. It is extremely painful to make permanent repairing.

But first we need to setup fully our continuous integration process.

#3 Updated by wuttke about 3 years ago

  • Parent task set to #418

#4 Updated by wuttke about 3 years ago

I'll close #1070, which essentially said:

- Unix should install to /usr/local/lib, not to versioned subdirectory

- Versions should be encoded in file names, with links as in

libjsoncpp.so@
libjsoncpp.so.0@
libjsoncpp.so.0.6.0

#5 Updated by wuttke almost 3 years ago

  • Parent task changed from #418 to #1602

#6 Updated by herck almost 3 years ago

  • Status changed from New to Sprint

#7 Updated by pospelov over 2 years ago

  • Target version changed from Sprint32 to Sprint 33

#8 Updated by herck over 2 years ago

  • Status changed from Sprint to Backlog

#9 Updated by herck over 2 years ago

  • Target version deleted (Sprint 33)

#10 Updated by pospelov about 2 years ago

  • Status changed from Backlog to Sprint
  • Target version set to Sprint 35

Taking to the sprint. Find location lib/BornAgain-1.9/thisbornagain.sh quite confusing

#11 Updated by pospelov almost 2 years ago

  • Status changed from Sprint to Backlog
  • Target version deleted (Sprint 35)

#12 Updated by pospelov over 1 year ago

  • Subject changed from Find an appropriate path for the BornAgain executable to Revise installation directory structure under Linux
  • Status changed from Backlog to Sprint
  • Target version set to Sprint 37

#13 Updated by pospelov about 1 year ago

  • Target version changed from Sprint 37 to Sprint 38

#14 Updated by pospelov about 1 year ago

  • Status changed from Sprint to Backlog
  • Target version deleted (Sprint 38)

Also available in: Atom PDF