Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-56

Build arch detection is non existant

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: autobuild, viewer build
    • Labels:
    • Environment:
      Linux 64 bit
    • Acceptance Criteria:
      Hide
      Normal builds are uneffected and proceed as usual on both 32 and 64bit systems
      32 bit standalone builds complete as expected
      64 bit standalone builds complete as expected without an explicit word size on the command line
      Show
      Normal builds are uneffected and proceed as usual on both 32 and 64bit systems 32 bit standalone builds complete as expected 64 bit standalone builds complete as expected without an explicit word size on the command line

      Description

      We use to have uname for build arch detection which was wrong and caused its own issues (SNOW-429 which also fixed this) now we have no build arch detection and just force WORD_SIZE=32 in the autobuild control file, which is IMHO a regression.

      For standalone builds we really desire automatic arch detection as it required to compile the viewer on 64 bit machines (as you are linking 64 bit libraries). We can probably use cmakes own arch detection but we must ensure the default case of a non-standalone build still uses 32 bit by default.

        Attachments

          Activity

            People

            Assignee:
            robin.cornelius Robin Cornelius
            Reporter:
            robin.cornelius Robin Cornelius
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                PagerDuty