Safe Haskell | None |
---|
- data BuilderConfig = BuilderConfig {}
- data Builder = Builder {
- builderName :: String
- buildHost :: Platform
- buildTarget :: Platform
- buildSpec :: Platform
- buildBaseSrcDir :: FilePath
- buildBaseLibDir :: FilePath
- buildCC :: FilePath -> FilePath -> IO ()
- buildLlc :: FilePath -> FilePath -> IO ()
- buildAs :: FilePath -> FilePath -> IO ()
- buildLdExe :: FilePath -> FilePath -> IO ()
- buildLdLibStatic :: [FilePath] -> FilePath -> IO ()
- buildLdLibShared :: [FilePath] -> FilePath -> IO ()
- builders :: BuilderConfig -> [Builder]
- determineDefaultBuilder :: BuilderConfig -> IO (Maybe Builder)
Documentation
data BuilderConfig Source
Configuration information for a builder that is not platform specific.
BuilderConfig | |
|
Actions to use to invoke external compilation tools.
Builder | |
|
builders :: BuilderConfig -> [Builder]Source
All supported builders. The host and target platforms are the same.
Supported builders are:
x86_32-darwin
, x86_64-darwin
,
x86_32-linux
, x86_64-linux
,
x86_32-cygwin
,
ppc32-linux
determineDefaultBuilder :: BuilderConfig -> IO (Maybe Builder)Source
Determine the default builder based on the arch
and uname
commands.
This assumes that the host
and target
platforms are the same.
If we don't recognise the result of arch
or uname
, or don't have
a default builder config for this platform then Nothing
.