Skip to content

Commit 1c8ba66

Browse files
author
CVS to SVN Conversion
committed
This commit was manufactured by cvs2svn to create branch 'release_14'.
llvm-svn: 18659
1 parent a3df351 commit 1c8ba66

39 files changed

+797
-4422
lines changed

llvm/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,4 @@ dist-hook::
4141
$(TopDistDir)/include/llvm/Support/DataTypes.h \
4242
$(TopDistDir)/include/llvm/Support/ThreadSupport.h
4343

44-
check :
45-
$(MAKE) -C test check TESTSUITE=$(TESTSUITE)
46-
4744
tools-only: all

llvm/Makefile.rules

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
# Define the various target sets
2121
#--------------------------------------------------------------------
2222
RecursiveTargets := all clean clean-all install uninstall install-bytecode
23-
LocalTargets := all-local clean-local clean-all-local \
23+
LocalTargets := all-local clean-local clean-all-local check-local \
2424
install-local printvars uninstall-local \
2525
install-bytecode-local
26-
TopLevelTargets := dist dist-check dist-clean tags dist-gzip dist-bzip2 \
26+
TopLevelTargets := check dist dist-check dist-clean tags dist-gzip dist-bzip2 \
2727
dist-zip
2828
UserTargets := $(RecursiveTargets) $(LocalTargets) $(TopLevelTargets)
2929
InternalTargets := preconditions distdir dist-hook
@@ -154,12 +154,13 @@ ifdef ENABLE_PROFILING
154154
else
155155
ifdef ENABLE_OPTIMIZED
156156
BuildMode := Release
157-
CXX.Flags := -O3 -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer
157+
CXX.Flags := -O3 -DNDEBUG -finline-functions \
158+
-felide-constructors -fomit-frame-pointer
158159
C.Flags := -O3 -DNDEBUG -fomit-frame-pointer
159160
LD.Flags := -O3 -DNDEBUG
160161
else
161162
BuildMode := Debug
162-
CXX.Flags := -g -D_DEBUG
163+
CXX.Flags := -g -D_DEBUG
163164
C.Flags := -g -D_DEBUG
164165
LD.Flags := -g -D_DEBUG
165166
KEEP_SYMBOLS := 1
@@ -214,10 +215,6 @@ ifndef LLVMGXX
214215
LLVMGXX := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCCDIR)/bin/g++
215216
endif
216217

217-
# Need a better way to compute this.
218-
LLVMGCCLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))/
219-
LLVMGCCStdCXXLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libstdc++.a))/
220-
221218
#--------------------------------------------------------------------
222219
# Adjust to user's request
223220
#--------------------------------------------------------------------
@@ -1089,6 +1086,23 @@ endif
10891086

10901087
endif
10911088

1089+
###############################################################################
1090+
# CHECK: Running the test suite
1091+
###############################################################################
1092+
1093+
check::
1094+
$(Verb) if test -d "$(BUILD_OBJ_ROOT)/test" ; then \
1095+
if test -f "$(BUILD_OBJ_ROOT)/test/Makefile" ; then \
1096+
$(EchoCmd) Running test suite ; \
1097+
$(MAKE) -C $(BUILD_OBJ_ROOT)/test check-local \
1098+
TESTSUITE=$(TESTSUITE) ; \
1099+
else \
1100+
$(EchoCmd) No Makefile in test directory ; \
1101+
fi ; \
1102+
else \
1103+
$(EchoCmd) No test directory ; \
1104+
fi
1105+
10921106
###############################################################################
10931107
# DISTRIBUTION: Handle construction of a distribution tarball
10941108
###############################################################################
@@ -1212,7 +1226,7 @@ $(DistDir)/.makedistdir: $(DistSources)
12121226
fi ; \
12131227
$(EchoCmd) Removing old $(DistDir) ; \
12141228
$(RM) -rf $(DistDir); \
1215-
$(EchoCmd) Making 'all' to be sure. ; \
1229+
$(EchoCmd) Making 'all' to verify build ; \
12161230
$(MAKE) all ; \
12171231
fi
12181232
$(Echo) Building Distribution Directory $(DistDir)
@@ -1296,7 +1310,7 @@ endif
12961310
ifeq ($(LEVEL),.)
12971311

12981312
#------------------------------------------------------------------------
1299-
# Install support for project's include files:
1313+
# Install support for the project's include files:
13001314
#------------------------------------------------------------------------
13011315
install-local::
13021316
$(Echo) Installing include files

llvm/docs/.cvsignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
doxygen.cfg
2+

llvm/docs/CommandGuide/Makefile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,39 @@
77
#
88
##===----------------------------------------------------------------------===##
99

10+
ifdef BUILD_FOR_WEBSITE
11+
12+
# This special case is for keeping the CommandGuide on the LLVM web site
13+
# up to date automatically as the documents are checked in. It must build
14+
# the POD files to HTML only and keep them in the src directories. It must also
15+
# build in an unconfigured tree, hence the ifdef. To use this, run
16+
# make -s BUILD_FOR_WEBSITE=1 inside the cvs commit script.
17+
18+
POD := $(wildcard *.pod)
19+
HTML := $(patsubst %.pod, html/%.html, $(POD))
20+
MAN := $(patsubst %.pod, man/man1/%.1, $(POD))
21+
PS := $(patsubst %.pod, ps/%.ps, $(POD))
22+
23+
all: $(HTML) $(MAN) $(PS)
24+
25+
.SUFFIXES:
26+
.SUFFIXES: .html .pod .1 .ps
27+
28+
html/%.html: %.pod
29+
pod2html --css=manpage.css --htmlroot=. \
30+
--podpath=. --noindex --infile=$< --outfile=$@ --title=$*
31+
32+
man/man1/%.1: %.pod
33+
pod2man --release=1.4 --center="LLVM Command Guide" $< $@
34+
35+
ps/%.ps: man/man1/%.1
36+
groff -Tps -man $< > $@
37+
38+
clean:
39+
rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
40+
41+
else
42+
1043
LEVEL := ../..
1144

1245
include $(LEVEL)/Makefile.common
@@ -62,3 +95,5 @@ uninstall-local::
6295
printvars::
6396
$(Echo) "POD : " '$(POD)'
6497
$(Echo) "HTML : " '$(HTML)'
98+
99+
endif

llvm/docs/FAQ.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@
168168
<li>The GCC front end code is not as portable as the LLVM suite, so it may not
169169
compile as well on unsupported platforms.</li>
170170

171-
<li>The Python test classes are more UNIX-centric than they should be, so
172-
porting to non-UNIX like platforms (i.e. Windows, MacOS 9) will require some
173-
effort.</li>
174-
175171
<li>The LLVM build system relies heavily on UNIX shell tools, like the Bourne
176172
Shell and sed. Porting to systems without these tools (MacOS 9, Plan 9) will
177173
require more effort.</li>

0 commit comments

Comments
 (0)