Skip to content

CMake process failing on develop branch with non x86 or x64 archs #1329

@mrapitis

Description

@mrapitis

The current master branch compiles fine with Raspberry PI architecture, however the current develop fails during the cmake process. Please see command line log below, in addition please see the platform.cmake file that specifically checks for x86 or x64 archs. The develop branch needs to be updated so that it does not specifically require x86 or x64 archs as this functionality was previously working with master.

https://github.com/smartdevicelink/sdl_core/blob/develop/tools/cmake/helpers/platform.cmake

pi@raspberrypi3:~/core/develop-bin $ cmake ../mycode/
INFO Use gold linker
CMake Warning at CMakeLists.txt:225 (message):
CCache was not found.
CMake Warning at CMakeLists.txt:238 (message):
distcc was not found. Distributed compilation is impossible.
-- libudev stable: 1
-- Found UDev: /usr/lib/arm-linux-gnueabihf/libudev.so
-- include: /usr/include
-- USB support enabled
-- Bluetooth support enabled
-- Backtrace support enabled
-- Logger enabled
-- Telemetry monitor enabled
-- PROPRIETARY policy enabled
-- Security enabled
-- HMI PTU decription enabled
CMake Error at tools/cmake/helpers/platform.cmake:87 (message):
Unsupported architecture
Call Stack (most recent call first):
tools/cmake/helpers/sources.cmake:85 (get_arch)
tools/cmake/helpers/sources.cmake:106 (filter_files_by_arch)
tools/cmake/helpers/sources.cmake:119 (filter_files)
src/3rd_party-static/jsoncpp/CMakeLists.txt:40 (collect_sources)
-- Configuring incomplete, errors occurred!
See also "/home/pi/core/mycode/CMakeFiles/CMakeOutput.log".
See also "/home/pi/core/mycode/CMakeFiles/CMakeError.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions