Fork me on GitHub
#clojure
<
2023-11-05
>
Carsten Behring22:11:32

I am trying the new Clojure 1.12-alpha5 and are getting this on "sync-deps":

(clojure.repl.deps/sync-deps)
Execution error (ExceptionInfo) at clojure.tools.deps.interop/invoke-tool (interop.clj:49).
Could not acquire write lock for 'artifact:org.bytedeco:mkl:2020.3-1.5.4'
This is probably the same problem as: https://ask.clojure.org/index.php/12730/error-could-acquire-write-lock-artifact-org-bytedeco-opencv?show=12730#q12730 The fix using clojure CLI is to use -Sthreads 1 . Do we have this options for (sync-deps) ?

Alex Miller (Clojure team)22:11:45

No, there’s no way to pass that right now

Alex Miller (Clojure team)22:11:22

We have a ticket in the works for that general problem. I think you could make an alias with :threads, then start with that alias. Sync-deps will retain your start aliases