projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e4663
)
Add .PHONY targets for building source and binary RPM packages. You can
author
Reid Spencer
<rspencer@reidspencer.com>
Wed, 16 Aug 2006 00:43:50 +0000
(
00:43
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Wed, 16 Aug 2006 00:43:50 +0000
(
00:43
+0000)
now just "make rpm" or "make srpm" and it will build them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29717
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index b48b49b16762ee9f6e6b75fe626fe8dbeef6271b..0a27cbed46bd67596aaadc105bf04a26889aca90 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-100,3
+100,10
@@
endif
check-llvm2cpp:
$(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
+srpm: $(LLVM_OBJ_ROOT)/llvm.spec
+ rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec
+
+rpm: $(LLVM_OBJ_ROOT)/llvm.spec
+ rpmbuild -bb --target $(TARGET_TRIPLE) $(LLVM_OBJ_ROOT)/llvm.spec
+
+.PHONY: srpm rpm