3Things needed to build without LLVM
4Replaces stuff from LLVM.General.Target and IRTS.CodegenLLVM.
8module Util.LLVMStubs where
10import qualified Core.TT as TT
12import IRTS.CodegenCommon
14import Data.Word (Word)
16getDefaultTargetTriple :: IO String
17getDefaultTargetTriple = return ""
19getHostCPUName :: IO String
20getHostCPUName = return ""
23codegenLLVM :: [(TT.Name, SDecl)] ->
24 String -> -- target triple
25 String -> -- target CPU
26 Word -> -- Optimization degree
27 FilePath -> -- output file name
31codegenLLVM _ _ _ _ _ _ = fail "This Idris was compiled without the LLVM backend."
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list