Ticket #7021 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Move Linux distro checking into separate cmake file

Reported by: Stuart Campbell Owned by: Stuart Campbell
Priority: critical Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

As a result of re-using the tests for which linux distribution you are using in the parts of CMake to create a launch wrapper script on RHEL6 it has broken building on RHEL clones. This problem was always there but only would be visible when CPACK was enabled.

Change History

comment:1 Changed 7 years ago by Stuart Campbell

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Peter Peterson

For scientific linux:

$ lsb_release
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

comment:3 Changed 7 years ago by Stuart Campbell

Move logic into separate file. refs #7021

Changeset: ef55d93ce5f32614263b98cb45826a8f019d7fd6

comment:4 Changed 7 years ago by Stuart Campbell

Move logic into separate file. refs #7021

Changeset: ef55d93ce5f32614263b98cb45826a8f019d7fd6

comment:5 Changed 7 years ago by Stuart Campbell

Make Scientific Linux and CentOS look like RHEL. re #7021

Changeset: 9d1dade20b3d80b2c2f7b60121852a481fe11bd8

comment:6 Changed 7 years ago by Stuart Campbell

Use common script to check for distro

Also use distro type rather than codename for checking. refs #7021

Changeset: 6ce186387b5778ecfebee52c7f84182ad37b2e44

comment:7 Changed 7 years ago by Stuart Campbell

Make Scientific Linux and CentOS look like RHEL. re #7021

Changeset: 9d1dade20b3d80b2c2f7b60121852a481fe11bd8

comment:8 Changed 7 years ago by Stuart Campbell

Use common script to check for distro

Also use distro type rather than codename for checking. refs #7021

Changeset: 6ce186387b5778ecfebee52c7f84182ad37b2e44

comment:9 Changed 7 years ago by Stuart Campbell

Add translation for SL/CentOS codenames -> RHEL. re #7021

Changeset: 52dd4f49965b4917982f8ab4ebb9453b2ceb1136

comment:10 Changed 7 years ago by Stuart Campbell

Add translation for SL/CentOS codenames -> RHEL. re #7021

Changeset: 52dd4f49965b4917982f8ab4ebb9453b2ceb1136

comment:11 Changed 7 years ago by Stuart Campbell

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:12 Changed 7 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:13 Changed 7 years ago by Stuart Campbell

Move logic into separate file. refs #7021

Changeset: ef55d93ce5f32614263b98cb45826a8f019d7fd6

comment:14 Changed 7 years ago by Stuart Campbell

Make Scientific Linux and CentOS look like RHEL. re #7021

Changeset: 9d1dade20b3d80b2c2f7b60121852a481fe11bd8

comment:15 Changed 7 years ago by Stuart Campbell

Use common script to check for distro

Also use distro type rather than codename for checking. refs #7021

Changeset: 6ce186387b5778ecfebee52c7f84182ad37b2e44

comment:16 Changed 7 years ago by Stuart Campbell

Add translation for SL/CentOS codenames -> RHEL. re #7021

Changeset: 52dd4f49965b4917982f8ab4ebb9453b2ceb1136

comment:17 Changed 7 years ago by Michael Reuter

  • Status changed from verifying to closed

This worked on CentOS and still works for RHEL.

comment:18 Changed 7 years ago by Stuart Campbell

Move logic into separate file. refs #7021

Changeset: ef55d93ce5f32614263b98cb45826a8f019d7fd6

comment:19 Changed 7 years ago by Stuart Campbell

Make Scientific Linux and CentOS look like RHEL. re #7021

Changeset: 9d1dade20b3d80b2c2f7b60121852a481fe11bd8

comment:20 Changed 7 years ago by Stuart Campbell

Use common script to check for distro

Also use distro type rather than codename for checking. refs #7021

Changeset: 6ce186387b5778ecfebee52c7f84182ad37b2e44

comment:21 Changed 7 years ago by Stuart Campbell

Add translation for SL/CentOS codenames -> RHEL. re #7021

Changeset: 52dd4f49965b4917982f8ab4ebb9453b2ceb1136

comment:22 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7867

Note: See TracTickets for help on using tickets.