File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 04f966f0bc8d092a000e5b6dad0bdd3353ec4efe
2
+ refs/heads/master: e78a9c321bf0f66b4fc7a2b182a5cb83b5e2429b
Original file line number Diff line number Diff line change
1
+ # #####################################################################
2
+ # intrinsics.bc rules
3
+ # #####################################################################
4
+
5
+ # TODO: Use clang to compile the C++.
6
+ INTRINSICS_LL_IN := $(S ) src/rt/intrinsics/intrinsics.ll.in
7
+ INTRINSICS_LL := intrinsics/intrinsics.ll
8
+ INTRINSICS_BC := intrinsics/intrinsics.bc
9
+
10
+ $(INTRINSICS_LL ) : $(INTRINSICS_LL_IN ) $(MKFILES )
11
+ @$(call E, mkdir: intrinsics)
12
+ $(Q ) mkdir -p intrinsics
13
+ @$(call E, sed: $@ )
14
+ $(Q ) sed s/@CFG_LLVM_TRIPLE@/$(CFG_LLVM_TRIPLE ) /g $< > $@
15
+
16
+ $(INTRINSICS_BC ) : $(INTRINSICS_LL ) $(MKFILES )
17
+ @$(call E, llvm-as: $@ )
18
+ $(Q )$(LLVM_AS ) -o $@ $<
19
+
You can’t perform that action at this time.
0 commit comments