|
|
楼主 |
发表于 2021-4-8 22:38
|
显示全部楼层
本帖最后由 Ghlao 于 2021-4-8 22:48 编辑
在上面的基础上,去掉默认的software floating point Advanced configuration options (for developers) --->
Target Options --->
[ ] Use software floating point by default
最终编译出来的可以正常工作
- [root@OTCloud_0000:/media/sda2]#file /usr/bin/git
- /usr/bin/git: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.16, stripped
- [root@OTCloud_6845:/media/sda2]#git
- usage: git [--version] [--help] [-C <path>] [-c name=value]
- [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
- [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
- [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
- <command> [<args>]
- The most commonly used git commands are:
- add Add file contents to the index
- bisect Find by binary search the change that introduced a bug
- branch List, create, or delete branches
- checkout Checkout a branch or paths to the working tree
- clone Clone a repository into a new directory
- commit Record changes to the repository
- diff Show changes between commits, commit and working tree, etc
- fetch Download objects and refs from another repository
- grep Print lines matching a pattern
- init Create an empty Git repository or reinitialize an existing one
- log Show commit logs
- merge Join two or more development histories together
- mv Move or rename a file, a directory, or a symlink
- pull Fetch from and integrate with another repository or a local branch
- push Update remote refs along with associated objects
- rebase Forward-port local commits to the updated upstream head
- reset Reset current HEAD to the specified state
- rm Remove files from the working tree and from the index
- show Show various types of objects
- status Show the working tree status
- tag Create, list, delete or verify a tag object signed with GPG
- 'git help -a' and 'git help -g' list available subcommands and some
- concept guides. See 'git help <command>' or 'git help <concept>'
- to read about a specific subcommand or concept.
- [root@OTCloud_0000:/media/sda2]#
复制代码
搭建的服务器通过repo sync 4线程同步玩客云上面搭建的安卓源码仓库,系统资源占用情况:
- Mem: 935728K used, 66356K free, 3744K shrd, 159240K buff, 475992K cached
- CPU: 32% usr 14% sys 0% nic 9% idle 39% io 0% irq 4% sirq
- Load average: 2.86 1.07 0.63 3/357 2439
- PID PPID USER STAT VSZ %VSZ %CPU COMMAND
- 2021 1649 root R 1996 0% 26% /usr/sbin/dropbear -R
- 2393 2389 root S 159m 16% 5% git pack-objects --revs --thin --stdout --progress --delta-base-offset
- 2087 2060 root D 286m 29% 4% git pack-objects --revs --thin --stdout --progress --delta-base-offset
- 2394 2391 root D 272m 28% 4% git pack-objects --revs --thin --stdout --progress --delta-base-offset
- 2240 2239 root D 278m 28% 2% git pack-objects --revs --thin --stdout --progress --delta-base-offset
- 87 2 root DW 0 0% 2% [usb-storage]
- 2389 2388 root S 38208 4% 1% git-upload-pack /media/sda3/repositories/aosp/platform/RKDocs
- 42 2 root SW 0 0% 1% [kswapd0]
- 2060 2056 root R 39740 4% 1% git-upload-pack /media/sda3/repositories/aosp/platform/frameworks
- 659 654 root S 98m 10% 1% /onecloud_app/thunder/bin/fdrawer -S
复制代码
只能说同步速度一般
- From 192.168.14.24:/media/sda3/repositories/aosp/platform/build
- * [new branch] master -> aosp/master
- Fetching projects: 53% (17/32) Fetching project platform/art
- remote: Counting objects: 6049, done. 3 MiB | 1.63 MiB/s
- remote: Compressing objects: 100% (3997/3997), done. B/s
- remote: Total 6049 (delta 1205), reused 6049 (delta 1205)
- Receiving objects: 100% (6049/6049), 5.58 MiB | 1.48 MiB/s, done.
- Resolving deltas: 100% (1205/1205), done.
- From 192.168.14.24:/media/sda3/repositories/aosp/platform/art
- * [new branch] master -> aosp/master
- Fetching projects: 56% (18/32) Fetching project platform/sdk
- remote: Counting objects: 3178, done. 87 MiB | 1.55 MiB/s
- remote: Compressing objects: 100% (1761/1761), done.
- remote: Total 3178 (delta 971), reused 3178 (delta 971) s
- Receiving objects: 100% (3178/3178), 4.88 MiB | 1.42 MiB/s, done.
- Resolving deltas: 100% (971/971), done.
复制代码不过也算是让玩客云多了一种玩法 |
|