- 24 Jul, 2017 1 commit
-
-
Francois-Rene Rideau authored
Fix upgrade on ABCL, that failed to properly process the fact that initialize-source-registry had moved from asdf/find-system to asdf/source-registry, yet was called in a cleanup function. Fix upgrade on ECL, that failed to correctly process that find-component was fmakunbound. It also seems to clear *central-registry* in some upgrade scenarios (that also moved from find-system to system-registry). Tweak script-support to not unconditionally frob-packages when ASDF isn't loaded yet, and to not include the asdf directory when loading and testing only UIOP.
-
- 23 Jul, 2017 1 commit
-
-
Francois-Rene Rideau authored
This provides for backward compatibility with ECL, whose current maintainer Daniel K. has decided to keep supporting the make-build interface and has forked ASDF for that.
-
- 21 Jul, 2017 4 commits
-
-
Francois-Rene Rideau authored
Update some packages so #+ecl forms can see symbols they need. Make sure uiop and/or asdf have linkable output before to link them. Fix test-program to account for recent asdf changes.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Stop having build/asdf.lisp depend on dummy target show-version, because that caused spurious re-builds.
-
- 20 Jul, 2017 34 commits
-
-
Francois-Rene Rideau authored
Add feature :asdf3.3 because it will be needed e.g. for with-asdf-session. Drop feature :asdf-package-system that shouldn't be used, and isn't used in Quicklisp indeed (good). The official feature to use is :asdf3.1 instead.
-
Francois-Rene Rideau authored
-
Robert Goldman authored
Previously, if one bumped a version number that was included into a system definition using :READ-FILE-FORM or :READ-FILE-LINE, ASDF would not notice the change (so it could, for example, fail to recognize that a depended-on system has had its version number bumped and now satisfies a new :VERSION requirement). This was fixed by adding ADDITIONAL-INPUT-FILES to the object model. These serve the purpose of giving a place other than INPUT-FILES for ASDF to stash input files that it "notices" on its own (e.g., when processing :READ-FILE-<FOO>). ASDF can't stash such files in INPUT-FILES, because it must leave the INPUT-FILES primary methods open for users to override.
-
Robert Goldman authored
In some cases the backtraces aren't useful, and obscure more important information. Now the user can disable them with lisp variable or environment variable. (cherry picked from commit 99422ff9238f72fbad557e8d716bee9df2e84d7c)
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Drop any information in undefined-system that isn't in proto-system.
-
Francois-Rene Rideau authored
And add more debug information.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Don't warn when OPERATE is called by REQUIRE. Don't use :FORCE-NOT in REQUIRE-SYSTEM (only check that the required system isn't present yet; otherwise inherit ambient force-not).
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Fix mark-status-needed to be a special-purpose action-status-or, and not use an action-status-and that merge-action-status is. This was causing level escalation to wholly invalidate some actions and have them rebuild all the time. Fix merge-action-status which is a action-status-and; also fix its documentation. That is minor, but still.
-
Francois-Rene Rideau authored
I noticed that some systems, e.g. fast-io, will cause UIOP, CFFI, and everything that depends on it, to be constantly recompiled. Interestingly, this doesn't happen with any of the systems that fast-io directly depends on: alexandria, trivial-gray-streams, and static-vectors. And interestingly, the test case, once reduced, is exactly isomorphic to the test case already in test-defsystem-depends-on-phase-overlap.script: fast-io => main-system, alexandria => overlapping-dependency, static-vectors => intermediate-dependency, bazel => defsystem-dependency And indeed, adding a test for it detects the failure.
-
Francois-Rene Rideau authored
Track at which level of nested calls to OPERATE a not-done action is needed; if it is needed at a higher level than previously traversed, then traverse again to schedule it (and its transitive dependencies) to be done in the higher level. This fixes cases, such as in (test-system "cl-protobufs-tests"), where a library was already marked as needed at a low level of OPERATE, but if actually needed at higher level due to a defsystem-depends-on, and was previously not loaded early enough (after this plan refactoring).
-
Francois-Rene Rideau authored
Add test case in test-defsystem-depends-on-phase-overlap.script for a failure observed when running (test-system "cl-protobufs"): the action (test-op "cl-protobufs") depends on (load-op "cl-protobufs"), which gets staged at level 0; it then depends on (test-op "cl-protobufs-tests") which defsystem-depends-on (load-op "cl-protobufs"), but it has already been staged, so traverse-action fails to re-stage it at higher priority for level 1, and fails to perform it before we're back to defsystem "cl-protobufs-tests".
-
Francois-Rene Rideau authored
Don't error out but only warn when operate is recursively called. Too much legacy code uses load-system or require inside lisp files and/or perform methods.
-
Francois-Rene Rideau authored
A DEFINE-OP "asdf" shouldn't depend on a DEFINE-OP "uiop", or a circular dependency may be introduced by the "always load asdf first" behavior. Instead, have asdf/driver do a low-level copy of the components in uiop, rather than a transclusion of a system defined in a separate file.
-
Francois-Rene Rideau authored
Refactor plan to define and export two functions that make POIU's life easier.
-
Francois-Rene Rideau authored
Use NIL instead of T as the status stored in the visited-actions hash-table when the status is unknown, and check whether it (or a known status) is present using the second value of GETHASH. When a known value is sought, keep checking for the first value.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
TODO: understand what's going on there...
-
Francois-Rene Rideau authored
Do not perform an action twice in a session. Introduce three status bits that every action has in a given session, in addition to the stamp: KEEP-P (from previous session), DONE-P (and up-to-date, in this image), NEED-P (needed in this image as part of this session). BACKWARD INCOMPATIBILITY: Invert the meaning of NIL and T for STAMP, so that NIL means out-of-date. This makes our code conceptually nicer, and no one in Quicklisp uses our stamps, anyway. Still, beware.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Stop unnecessarily re-performing initial input-less actions. Also fix (setf (action-status nil o c) ...), which therefore seems not to have been previously used.
-
Francois-Rene Rideau authored
Add test-defsystem-depends-on-phase-overlap.script (currently failing) to check that an action present in multiple phases will only be performed once.
-
Francois-Rene Rideau authored
Use a simple table *registered-systems* mapping name to system, and remember timestamps in the COMPONENT-OPERATION-TIME for DEFINE-OP, instead of the original *defined-systems* table mapping name to cons of timestamp and system.
-
Francois-Rene Rideau authored
Move forcing into its own file. Include forcing, not plan, among session slots. Share a toplevel forcing for all performable plans. Have REQUIRE use load-system, not require-system, so as not to conflict with session forcing options. Don't call with-asdf-session outside the test scripts themselves. Cleanup a few scripts accordingly, and beyond.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
This should notably prevent recording of a circular dependency of asdf on asdf.
-
Francois-Rene Rideau authored
Tweak primary-system-name to extract a component's system's primary-name. primary-system-p recognizes only systems (not random component) and strings that name them.
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Move action-status wholly to plan, merge it with planned-action-status. Add a performable-p flag to plans. Simplify sequential-plan and required-components; have them use a separate function collect-action-dependencies for traversing the graph. Add a function action-up-to-date-p to check whether an action is up-to-date, without adding it to the plan if it wasn't.
-