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()*/
}

笔记记录一下

相关推荐
老蒋新思维15 小时前
创客匠人万人峰会落幕:AI 智能体如何重塑知识变现的效率革命
大数据·人工智能·重构·创始人ip·创客匠人·知识变现
白帽子黑客杰哥15 小时前
CTF Web题目常用考点与解题技巧合集
前端·数据库·web安全·网络安全·ctf·信息收集
CN-Dust15 小时前
MongoDB|Windows版安装教程(附资源)
数据库·windows·mongodb
落日漫游15 小时前
MySQL vs Redis vs MongoDB:三大数据库
数据库·redis·sql
神算大模型APi--天枢64615 小时前
国产硬件架构大模型算力服务平台:本地化部署与标准端口开发的创新实践
大数据·人工智能·科技·深度学习·架构·硬件架构
程序边界15 小时前
金仓数据库助力Oracle迁移的深度体验:PL/SQL与函数支持全解析
数据库·sql·oracle
杜子不疼.15 小时前
AI Ping:大模型时代的“性能罗盘”——从选型到落地的全流程指南
数据库·人工智能·redis
元闰子15 小时前
20亿tpmC刷新记录,PolarDB做了哪些优化?· VLDB‘25
数据库·redis·mysql
rit843249915 小时前
嵌套粒子群优化(Nested PSO)的电力系统经济调度方案
数据库
自不量力的A同学15 小时前
MongoDB 数据库 ORM/ODM 新工具
数据库·mongodb