Skip to content

Commit

Permalink
nasdf/submodules: Register NASDF first in CL_SOURCE_REGISTRY.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed May 12, 2023
1 parent cbeb579 commit bf7f1b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libraries/nasdf/submodules.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ A naive benchmark on a 16 Mbps bandwidth gives us
(system-relative-pathname component path))))
(setf (getenv "CL_SOURCE_REGISTRY")
(strcat
;; Register this repository's NASDF path first, to ensure we don't
;; use any NASDF from submodules.
(native-namestring
(ensure-directory-pathname
(ensure-absolute-path "libraries/nasdf" component)))
(inter-directory-separator)
;; Submodules:
(native-namestring
(ensure-directory-pathname
(ensure-absolute-path *submodules-directory* component)))
Expand Down

0 comments on commit bf7f1b4

Please sign in to comment.