Common Build Actions #
Low level actions to build common Lean artifacts via the Lean toolchain.
def
Lake.compileLeanModule
(leanFile : System.FilePath)
(oleanFile? : Option System.FilePath)
(ileanFile? : Option System.FilePath)
(cFile? : Option System.FilePath)
(bcFile? : Option System.FilePath)
(leanPath : optParam System.SearchPath [])
(rootDir : optParam System.FilePath { toString := "." })
(dynlibs : optParam (Array System.FilePath) #[])
(dynlibPath : optParam System.SearchPath ∅)
(leanArgs : optParam (Array String) #[])
(lean : optParam System.FilePath { toString := "lean" })
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.compileO
(oFile : System.FilePath)
(srcFile : System.FilePath)
(moreArgs : optParam (Array String) #[])
(compiler : optParam System.FilePath { toString := "cc" })
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.compileStaticLib
(libFile : System.FilePath)
(oFiles : Array System.FilePath)
(ar : optParam System.FilePath { toString := "ar" })
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.compileExe
(binFile : System.FilePath)
(linkFiles : Array System.FilePath)
(linkArgs : optParam (Array String) #[])
(linker : optParam System.FilePath { toString := "cc" })
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Download a file using curl
, clobbering any existing file.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Unpack an archive file
using tar
into the directory dir
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lake.tar
(dir : System.FilePath)
(file : System.FilePath)
(gzip : optParam Bool true)
(excludePaths : optParam (Array System.FilePath) #[])
:
Pack a directory dir
using tar
into the archive file
.
Equations
- One or more equations did not get rendered due to their size.