mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-19 04:57:24 +03:00
-f execonly now builts RTS too
This only takes a second or two, and it's useful to be able to build it without building all the other libraries.
This commit is contained in:
parent
a5ff76d9d1
commit
b30057fe70
16
Setup.hs
16
Setup.hs
@ -240,9 +240,10 @@ idrisPreBuild args flags = do
|
|||||||
return (Nothing, [])
|
return (Nothing, [])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
idrisBuild _ flags _ local = unless (execOnly (configFlags local)) $ do
|
idrisBuild _ flags _ local
|
||||||
buildStdLib
|
= if (execOnly (configFlags local)) then buildRTS
|
||||||
buildRTS
|
else do buildStdLib
|
||||||
|
buildRTS
|
||||||
where
|
where
|
||||||
verbosity = S.fromFlag $ S.buildVerbosity flags
|
verbosity = S.fromFlag $ S.buildVerbosity flags
|
||||||
|
|
||||||
@ -261,10 +262,11 @@ idrisBuild _ flags _ local = unless (execOnly (configFlags local)) $ do
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- Copy/Install
|
-- Copy/Install
|
||||||
|
|
||||||
idrisInstall verbosity copy pkg local = unless (execOnly (configFlags local)) $ do
|
idrisInstall verbosity copy pkg local
|
||||||
installStdLib
|
= if (execOnly (configFlags local)) then installRTS
|
||||||
installRTS
|
else do installStdLib
|
||||||
installManPage
|
installRTS
|
||||||
|
installManPage
|
||||||
where
|
where
|
||||||
target = datadir $ L.absoluteInstallDirs pkg local copy
|
target = datadir $ L.absoluteInstallDirs pkg local copy
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user