liusheng / liusheng.github.io

Liusheng's blog
http://liusheng.github.io
5 stars 1 forks source link

Alluxio ARM64平台编译记录 #36

Open liusheng opened 3 years ago

liusheng commented 3 years ago

0. 编译准备

参考官方文档 安装JDK和Maven:

apt-get -q update && apt-get install -y git maven openjdk-11-jdk
export JAVA_HOME /usr/lib/jvm/java-11-openjdk-arm64

编译命令:

mvn -e clean install -DskipTests

上游推动ARM支持Issue

1. 问题记录

1). 缺少protolock ARM64平台的依赖,错误如下:

OS not supported. Unable to find a protolock binary for the classifier linux-aarch_64

这个依赖包是用来检测protobuf之间兼容性问题的,由proto-backwards-compat-maven-plugin加载,已经在在该项目中尝试推动,见PR

2). 缺少node-sass依赖包的支持,错误如下:

lerna ERR! npm install --production  --no-save --no-package-lock --no-shrinkwrap stderr:                                                                              
Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.0/linux-arm64-64_binding.node": 

在该项目中,苹果的人已经提出了Issue

liusheng commented 3 years ago