bazelbuild / platforms

Constraint values for specifying platforms and toolchains
Apache License 2.0
106 stars 70 forks source link

Add loongarch64 support #47

Closed loongson-zn closed 1 year ago

loongson-zn commented 1 year ago

Compile bazel on LoongArch with errors, so add this commit. I already successfully built bazel and run bazelbuild/examples.

[loongson@localhost output]$ arch
loongarch64
[loongson@localhost output]$ pwd
/home/loongson/zhangna/bazel-LA/output
[loongson@localhost output]$ ls
bazel
[loongson@localhost output]$ file bazel 
bazel: ELF 64-bit LSB executable, *unknown arch 0x102* version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld.so.1, for GNU/Linux 4.15.0, BuildID[sha1]=6b74aec09bbf4d946d37c1b9b0e46302770deae1, not stripped
google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.