Coder Social home page Coder Social logo

loongson-cloud-community's Introduction

loongson-cloud-community's People

Contributors

houfangdong avatar huajingyun01 avatar merore avatar qiangxuhui avatar wxpppp avatar yzewei avatar zhaixiaojuan avatar znley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

loongson-cloud-community's Issues

使用bazel3.7.2编译TensorFlow2.6报错

ERROR: /root/.cache/bazel/_bazel_root/16ee9592b5dca3f811624ecd73ae7085/external/local_execution_config_platform/BUILD:17:9: no such target '@bazengarch64': target 'loongarch64' not declared in package 'platforms' defined by /root/.cache/bazel/_bazel_root/16ee9592b5dca3f811624ecd73ae7085/extforms/BUILD and referenced by '@local_execution_config_platform//:platform'

其中/root/.cache/bazel/_bazel_root/16ee9592b5dca3f811624ecd73ae7085/external/local_execution_config_platform/BUILD显示如下:
image

但是@bazel_tools//platforms中对应的/root/.cache/bazel/_bazel_root/install/14fc6f80a33e07f9d92f0f82082f5d19/embedded_tools/platforms/中并没有loongarch64
image

编译minio最新版代码,失败。详情见内容。

[root@host-192-168-200-165 minio-master]# go build 
# github.com/shirou/gopsutil/v3/host
/root/go/pkg/mod/github.com/shirou/gopsutil/[email protected]/host/host_linux.go:99:22: undefined: sizeOfUtmp
/root/go/pkg/mod/github.com/shirou/gopsutil/[email protected]/host/host_linux.go:104:14: undefined: sizeOfUtmp
/root/go/pkg/mod/github.com/shirou/gopsutil/[email protected]/host/host_linux.go:106:9: undefined: utmp

# github.com/minio/minio/internal/kernel
internal/kernel/kernel.go:74:32: undefined: utsnameStr

系统环境:

[root@host-192-168-200-165 minio-master]#  lsb_release -a
LSB Version:    :core-4.1-loongarch64:core-4.1-noarch
Distributor ID: Uos
Description:    UnionTech OS Server 20
Release:        20
Codename:       kongzi

runc 构建失败

go build -trimpath   -tags "seccomp" -ldflags "-X main.gitCommit=v1.1.3-0-g6724737f-dirty -X main.version=1.1.3 " -o runc .
# github.com/cilium/ebpf/internal/unix
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:35:35: undefined: unix.BPF_F_SLEEPABLE
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:37:35: undefined: unix.BPF_F_INNER_MAP
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:40:35: undefined: unix.BPF_RINGBUF_BUSY_BIT
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:41:35: undefined: unix.BPF_RINGBUF_DISCARD_BIT
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:42:35: undefined: unix.BPF_RINGBUF_HDR_SZ
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:52:35: undefined: unix.PERF_ATTR_SIZE_VER1
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:64:35: undefined: unix.BPF_STATS_RUN_TIME
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:186:15: undefined: unix.ByteSliceToString
/root/go/pkg/mod/github.com/cilium/[email protected]/internal/unix/types_linux.go:207:15: undefined: unix.Prlimit
# github.com/opencontainers/runc/libcontainer/configs
libcontainer/configs/mount.go:34:16: undefined: unix.MountAttr
make: *** [Makefile:33:runc] 错误 2
This brings in mount_setattr(2) support, added to Linux 5.12 kernel and
documented at https://man7.org/linux/man-pages/man2/mount_setattr.2.html

移植文档左侧导航名称调整

image

如图,移植文档下名称不统一,不规范,在此建议统一按照小写名称进行,其他特殊情况另行考虑。

  1. 网站项目采用 mkdocs 作为驱动,确定左侧导航名称的方法为在 md 文件的顶部以一级标题 # 开头,后跟具体项目名称,例如
# cadvisor
  1. go 项目,建议命名为 go 项目通用移植手册
  2. etcd rpm, 建议更名为 etcd,主要体现 etcd 移植内容,rpm 制作调整为可选章节

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.