@@ -478,7 +478,8 @@ for building OCaml library and programs.")
(url "https://github.com/xavierleroy/camlidl")
(commit "camlidl109")))
(sha256
- (base32 "0zrkaq7fk23b2b9vg6jwdjx7l0hdqp4synbbrw1zcg8gjf6n3c80"))))
+ (base32 "0zrkaq7fk23b2b9vg6jwdjx7l0hdqp4synbbrw1zcg8gjf6n3c80"))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;; No test suite
@@ -493,10 +494,10 @@ for building OCaml library and programs.")
(delete 'configure)
(replace 'build
(lambda _
- (let* ((cores (parallel-job-count))
- (dash-j (format #f "-j~a" cores)))
- (copy-file "config/Makefile.unix" "config/Makefile")
- (invoke "make" dash-j "all"))
+ (copy-file "config/Makefile.unix" "config/Makefile")
+ ;; Note: do not pass '-jN' as this appears to not be
+ ;; parallel-safe (race condition related to libcamlidl.a).
+ (invoke "make" "all")
#t))
(add-before 'install 'create-target-directories
(lambda* (#:key outputs #:allow-other-keys)