;; Guarantee that the compiler's package structure exists.
(if (not (name->package '(compiler)))
- (let ((package-set (package-set-pathname "compiler")))
+ (let ((package-set
+ (merge-pathnames
+ (enough-pathname
+ (merge-pathnames (package-set-pathname "compiler"))
+ cref/source-root)
+ cref/object-root)))
(if (not (file-exists? package-set))
(cref/generate-trivial-constructor "compiler"))
(construct-packages-from-file (fasload package-set))))
;; Guarantee that the compiler's package structure exists.
(if (not (name->package '(compiler)))
- (let ((package-set (package-set-pathname "compiler")))
+ (let ((package-set
+ (merge-pathnames
+ (enough-pathname
+ (merge-pathnames (package-set-pathname "compiler"))
+ cref/source-root)
+ cref/object-root)))
(if (not (file-exists? package-set))
(cref/generate-trivial-constructor "compiler"))
(construct-packages-from-file (fasload package-set))))
;; Guarantee that the compiler's package structure exists.
(if (not (name->package '(compiler)))
- (let ((package-set (package-set-pathname "compiler")))
+ (let ((package-set
+ (merge-pathnames
+ (enough-pathname
+ (merge-pathnames (package-set-pathname "compiler"))
+ cref/source-root)
+ cref/object-root)))
(if (not (file-exists? package-set))
(cref/generate-trivial-constructor "compiler"))
(construct-packages-from-file (fasload package-set))))
;; Guarantee that the compiler's package structure exists.
(if (not (name->package '(compiler)))
- (let ((package-set (package-set-pathname "compiler")))
+ (let ((package-set
+ (merge-pathnames
+ (enough-pathname
+ (merge-pathnames (package-set-pathname "compiler"))
+ cref/source-root)
+ cref/object-root)))
(if (not (file-exists? package-set))
(cref/generate-trivial-constructor "compiler"))
(construct-packages-from-file (fasload package-set))))
'target-bytes-per-object
bytes-per-object))
+(if (lexical-unreferenceable? (->environment '()) 'cref/source-root)
+ (environment-define (->environment '())
+ 'cref/source-root
+ #!default))
+
+(if (lexical-unreferenceable? (->environment '()) 'cref/object-root)
+ (environment-define (->environment '())
+ 'cref/object-root
+ #!default))
+
unspecific
\ No newline at end of file