如何在 ARMHF (ARM32) 上使用 CMake 构建软件包?

问题描述 投票:0回答:0

我需要在运行 Raspberry OS 32 的 Raspberry-pi 上从 GitHub 构建一个包。

我有以下适用于 ARM64 平台的“setup_ubuntu_arm.sh”:

运行此脚本来安装构建和运行 AtomBeam 所需的软件包

sudo apt-get -y 更新 sudo apt-get -y 安装 uuid-dev sudo apt-get -y 安装 make sudo apt-get -y 安装 pandoc sudo apt-get -y 安装 wget sudo wget https://github.com/Kitware/CMake/releases/download/v3.26.0-rc5/cmake-3.26.0-rc5-linux-aarch64.tar.gz tar -xzvf cmake-3.26.0-rc5-linux-aarch64.tar.gz sudo cp -r cmake-3.26.0-rc5-linux-aarch64/bin /usr sudo cp -r cmake-3.26.0-rc5-linux-aarch64/share /usr sudo apt-get -y 安装 libssl-dev sudo apt-get -y 安装 g++ sudo apt-get -y 安装 rpm sudo apt-get -y 安装 doxygen sudo apt-get -y 安装 graphviz sudo apt-get -y 安装 libncurses5-dev libncursesw5-dev sudo apt-get -y 安装 libghc-ncurses-dev sudo apt-get -y 安装 papi-tools sudo apt-get -y 安装 papi-examples sudo apt-get -y 安装 graphviz sudo apt-get -y 安装 texlive texinfo sudo apt-get -y 安装 texlive-fonts-推荐 sudo apt-get -y 安装 texlive-fonts-extra sudo apt-get -y 安装 texlive-latex-extra sudo apt-get -y 安装 zlib zlib-devel sudo apt-get -y 安装 zstd zstd-devel

sudo apt-get -y 安装 python3-dev python3-venv python3-pip swig

** 我的问题是我需要更改什么才能在 ARM32 Raspberry-pi 上运行它? **

我尝试在 GitHUb 上搜索与 CMake for ARM32 相关的任何内容: https://github.com/Kitware/CMake/releases 但只有 aarch64 (ARM64) 版本可用。

github cmake raspberry-pi arm64 armhf
© www.soinside.com 2019 - 2024. All rights reserved.