Skip to content
Snippets Groups Projects
Unverified Commit 4ff0fed7 authored by Danny Milosavljevic's avatar Danny Milosavljevic
Browse files

android-repo-download: Use parallel-job-count instead of hard-coding job

count.

* guix/build/android-repo.scm (android-repo-fetch): Use parallel-job-count
instead of hard-coding job count.
parent eb924a97
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,8 @@ (define* (android-repo-fetch manifest-url manifest-revision directory ...@@ -56,7 +56,8 @@ (define* (android-repo-fetch manifest-url manifest-revision directory
(with-directory-excursion directory (with-directory-excursion directory
(invoke git-repo-command "init" "-u" manifest-url "-b" manifest-revision (invoke git-repo-command "init" "-u" manifest-url "-b" manifest-revision
"--depth=1") "--depth=1")
(invoke git-repo-command "sync" "-c" "--fail-fast" "-v" "-j" "3") (invoke git-repo-command "sync" "-c" "--fail-fast" "-v" "-j"
(number->string (parallel-job-count)))
;; Delete vendor/**/.git, system/**/.git, toolchain/**/.git, ;; Delete vendor/**/.git, system/**/.git, toolchain/**/.git,
;; .repo/**/.git etc since they contain timestamps. ;; .repo/**/.git etc since they contain timestamps.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment