Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • autoware autoware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Autoware FoundationAutoware Foundation
  • MovedToGitHubMovedToGitHub
  • autowareautoware
  • Merge requests
  • !25
The source project of this merge request has been removed.

Fix native build on non-x86 archs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Filipe Rinaldi requested to merge filipe.rinaldi.arm/autoware:fix_arm64_build into master Dec 10, 2019
  • Overview 6
  • Commits 1
  • Changes 2

Fixed bug

Fix native build on AArch64 (See issue #19 (closed)). This MR moves MRT CMake Modules to a new version where it no longer forces x86 march flags without checking wether the target is an X86 machine.

See also:

  • https://github.com/KIT-MRT/mrt_cmake_modules/pull/8

Required information:

  • Operating system and version: Ubuntu 18.04
  • Autoware installation type: From source in Docker
  • Autoware version or commit hash: v1.13.0
  • ROS distribution and version:
  • ROS installation type: Docker
  • Package or library, if applicable: MRT CMake Modules

Description of the bug

When building Autoware on an non-x86 target (e.g. Arm64), the build will fail with some non-obvious error messages. This is because MRT CMake Modules injects x86 compilation flags on the build.

See issue #19 (closed).

Steps to reproduce the bug

Simply follow the build instructions (from source or using Docker) on an Arm64 system.

Expected behavior

Build succeed.

Actual behavior

Build on components that rely on MRT CMake Modules fails.

Screenshots

See and example of the output in issue #19 (closed).

Fix applied

  • Fixed MRT CMake Modules upstream: https://github.com/KIT-MRT/mrt_cmake_modules/pull/8
  • Then this patch moves to that new version of mrt_cmake_modules
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix_arm64_build