Skip to content

make install fails on aarch64 #21

@bschnei

Description

@bschnei

Hi, when following the compile instructions on aarch64, make install fails with the following error:

[ 50%] Building CXX object lib/CMakeFiles/vdt.dir/__/src/vdtMath_signatures.cc.o
c++: error: unrecognized command-line option ‘-msse’
make[2]: *** [lib/CMakeFiles/vdt.dir/build.make:79: lib/CMakeFiles/vdt.dir/__/src/vdtMath_signatures.cc.o] Error 1

This appears to be related to SSE having a default value of 'ON' and that setting not being disabled/changed based on the architecture. SSE is only relevant for x64.

Separately, it's worth noting that newer versions of cmake treat the value for cmake_minimum_required as an error and not a warning and stop the build:

CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

https://gitlab.archlinux.org/archlinux/packaging/packages/cern-vdt/-/merge_requests/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions