Browse Source

设置内核、relibc的远程为dragonos的git镜像站,防止国内网络问题导致编译失败 (#318)

LoGin 1 year ago
parent
commit
d6fd9c1e80
2 changed files with 4 additions and 4 deletions
  1. 3 3
      kernel/Cargo.toml
  2. 1 1
      user/dadk/config/relibc-0.1.0.dadk

+ 3 - 3
kernel/Cargo.toml

@@ -13,13 +13,13 @@ crate-type = ["staticlib"]
 x86 = "0.52.0"
 x86_64 = "0.14.10"
 bitflags = "1.3.2"
-virtio-drivers = { git = "https://github.com/DragonOS-Community/virtio-drivers.git", rev = "f1d1cbb" }
+virtio-drivers = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/virtio-drivers.git", rev = "f1d1cbb" }
 # 一个无锁MPSC队列
 thingbuf = { version = "0.1.3", default-features = false, features = ["alloc"] }
 # smoltcp 0.9.1
-smoltcp = { git = "https://github.com/DragonOS-Community/smoltcp.git", rev = "9027825", default-features = false, features = ["log", "alloc",  "socket-raw", "socket-udp", "socket-tcp", "socket-icmp", "socket-dhcpv4", "socket-dns", "proto-ipv4", "proto-ipv6"]}
+smoltcp = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/smoltcp.git", rev = "9027825", default-features = false, features = ["log", "alloc",  "socket-raw", "socket-udp", "socket-tcp", "socket-icmp", "socket-dhcpv4", "socket-dns", "proto-ipv4", "proto-ipv6"]}
 # num-traits 0.2.15
-num-traits = { git = "https://github.com/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
+num-traits = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
 num = { version = "0.4.0", default-features = false }
 num-derive = "0.3"
 # 一个no_std的hashmap、hashset

+ 1 - 1
user/dadk/config/relibc-0.1.0.dadk

@@ -5,7 +5,7 @@
   "task_type": {
     "BuildFromSource": {
       "Git": {
-        "url": "https://github.com/DragonOS-Community/relibc.git",
+        "url": "https://git.mirrors.dragonos.org/DragonOS-Community/relibc.git",
         "branch": "dragonos-relibc",
         "revision": null
       }