Kudu 源码编译-aarch架构 1.17.1版本

跟着官方文档编译

第一个问题:在make阶段时会报的问题:

cpp 复制代码
kudu/src/kudu/util/block_bloom_filter.cc:210:3: error: 'vst1q_u32_x2' was not declared in this scope
kudu/src/kudu/util/block_bloom_filter.cc:436:5: error: 'vst1q_u8_x2' was not declared in this scope

vst1q_u32_x2: vst2q_u32

vst1q_u8_x2: vst2q_u8

用这两个函数代替;

第二个问题:gradle-7.6.4-all.zip下载不下来

java 复制代码
Exception in thread "main" java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-7.6.4-all.zip failed: timeout

用迅雷本地下载(翻墙),上传至下面这个目录,最后一个目录名是随机生成的。

java 复制代码
/root/.gradle/wrapper/dists/gradle-7.6.4-all/69w292fwwbbevpookp42lrbux

第三个问题:gradle源要换成国内源

java 复制代码
Execution failed for task ':buildSrc:compileGroovy'.
		> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
		   > Could not download gradle-versions-plugin-0.41.0.jar (com.github.ben-manes:gradle-versions-plugin:0.41.0)
			  > Could not get resource 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
				 > Could not HEAD 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
		Execution failed for task ':buildSrc:compileGroovy'.
		> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
		   > Could not download gradle-versions-plugin-0.41.0.jar (com.github.ben-manes:gradle-versions-plugin:0.41.0)
			  > Could not get resource 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
				 > Could not HEAD 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.

下面这个文件可以改gradle源,换成国内源:

java 复制代码
kudu/java/buildSrc/build.gradle

本人换成的源地址:

java 复制代码
repositories {
    maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } //gradle-plugin
	maven { url 'https://maven.aliyun.com/repository/google' } //google
	maven { url 'https://maven.aliyun.com/repository/public' } //public
	maven { url 'https://maven.aliyun.com/repository/jcenter' } //jcenter
	/*google()
	mavenCentral()
	gradlePluginPortal()*/
}

笔记记录一下

相关推荐
Elastic 中国社区官方博客24 分钟前
Elasticsearch Open Inference API 增加了对 Jina AI 嵌入和 Rerank 模型的支持
大数据·人工智能·elasticsearch·搜索引擎·ai·全文检索·jina
隔壁老王15629 分钟前
mysql实时同步到es
数据库·mysql·elasticsearch
想要打 Acm 的小周同学呀1 小时前
Redis三剑客解决方案
数据库·redis·缓存
rkmhr_sef1 小时前
Redis 下载与安装 教程 windows版
数据库·windows·redis
workflower1 小时前
Prompt Engineering的重要性
大数据·人工智能·设计模式·prompt·软件工程·需求分析·ai编程
库库林_沙琪马2 小时前
Redis 缓存穿透、击穿、雪崩:问题与解决方案
数据库·redis·缓存
API_technology3 小时前
电商搜索API的Elasticsearch优化策略
大数据·elasticsearch·搜索引擎
黄雪超3 小时前
大数据SQL调优专题——引擎优化
大数据·数据库·sql
The god of big data3 小时前
MapReduce 第二部:深入分析与实践
大数据·mapreduce
LUCIAZZZ3 小时前
EasyExcel快速入门
java·数据库·后端·mysql·spring·spring cloud·easyexcel