HepLean Documentation

Lake.Build.Package

Package Facet Builds #

Build function definitions for a package's builtin facets.

Compute a topological ordering of the package's transitive dependencies.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Tries to download the package's build cache (if configured).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Tries to download and unpack the package's cached build archive (e.g., from Reservoir or GitHub). Prints a warning on failure.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[deprecated Lake.Package.maybeFetchBuildCacheWithWarning]
        Equations
        Instances For

          Build the extraDepTargets for the package. Also, if the package is a dependency, maybe fetch its build cache.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Compute the package's Reservoir barrel URL.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Compute the package's GitHub release URL.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Lake.Package.fetchBuildArchive (self : Lake.Package) (url : String) (archiveFile : Lake.FilePath) (headers : optParam (Array String) #[]) :

                Tries to download and unpack a build archive for the package from a URL.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Perform a build job after first checking for an (optional) cached build for the package (e.g., from Reservoir or GitHub).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    @[deprecated Lake.Package.afterBuildCacheAsync]
                    Equations
                    Instances For

                      Perform a build after first checking for an (optional) cached build for the package (e.g., from Reservoir or GitHub).

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        @[deprecated Lake.Package.afterBuildCacheSync]
                        Equations
                        Instances For

                          A package facet name to build function map that contains builders for the initial set of Lake package facets (e.g., extraDep).

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For