forked from agda/agda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a
.agda-lib
for Agda builtins (agda#6988)
* Ignore directories with an .agda-lib suffix Co-authored-by: ibbem <ibbem@ibbem.net> * Fix agda#4526, agda#4613: Add .agda-lib for builtins By default Agda tries to traverse the filesystem upwards until it hits the filesystem root or it finds a .agda-lib file. This traversal can be very slow if the Agda builtin sources are contained in a big directory (e.g. on NixOS where /nix/store, inside which Agda is stored, often contains ten to hundred thousand files). Hence we introduce the .agda-lib file to prevent this traversal for the Agda builtins. Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org> * Decide between interface files based on their existence --------- Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
- Loading branch information
1 parent
b1c8130
commit 44caaa5
Showing
9 changed files
with
63 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name: agda-builtins | ||
include: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters