Bob Wilson
0c5819e04c
Preprocess Apple llvmCore headers to reflect NDEBUG setting. <rdar://12568983>
...
If an Apple llvmCore build is done without assertions, and a client uses
the llvmCore headers with assertions enabled, or vice versa, then things will
break because some of the structure sizes in the API are different. Use the
unifdef tool to make the headers unconditionally match the way the llvmCore
libraries were built.
llvm-svn: 174460
2013-02-05 22:59:42 +00:00
Bob Wilson
388e081f6a
Set the deployment target for Apple llvmCore builds. <rdar://problem/12712431>
...
llvm-svn: 174397
2013-02-05 17:29:03 +00:00
Bob Wilson
f542c2cef8
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
...
llvm-svn: 173468
2013-01-25 18:40:25 +00:00
Bob Wilson
6cd3b6cddc
Fix quoting problems from my previous change. <rdar://problem/13001651>
...
I give up trying to get all of the settings into COMMON_MAKEFLAGS, so just
do the easy thing and repeat the ones with interesting quoting issues
in each make command.
llvm-svn: 172296
2013-01-12 02:31:42 +00:00
Bob Wilson
d478d6df36
Update Apple's build script for llvmCore. <rdar://problem/12914321>
...
This change is basically just copying changes that we've used for Apple's
clang builds to the script used for building llvmCore. Besides cleaning it
up to use xcrun to locate the proper versions of tools, especially for cross
compiling, it fixes the build to work with newer versions of clang that
honor SDKROOT settings in the environment.
llvm-svn: 172138
2013-01-10 22:59:51 +00:00
Bob Wilson
e946057869
Use the final .version number for LLVM_MINOR_VERSION in Apple llvmCore builds.
...
We've switched to a 3-component version numbering scheme for Apple releases,
and with this scheme, the final number is the one most relevant for setting
LLVM_MINOR_VERSION. <rdar://problem/12071459>
llvm-svn: 161645
2012-08-10 00:25:30 +00:00
Bob Wilson
da87e36649
Remove old code to strip out unwanted PPC slices for Apple llvmCore.
...
llvm-svn: 154706
2012-04-13 22:58:53 +00:00
Bob Wilson
fcde5a3ac5
Do not include multiple -arch options in CPPFLAGS.
...
llvm-svn: 154070
2012-04-05 00:35:55 +00:00
Bob Wilson
3e0c867151
Remove dead code for installing libLTO when building llvmCore.
...
llvm-svn: 153978
2012-04-03 23:13:26 +00:00
Bob Wilson
f68ed1883e
When building llvmCore, pass the SDKROOT and -arch setting to configure.
...
So far all of configure tests have been run against the default SDK and
architecture, regardless of what is actually being built. We've gotten
lucky until now. <rdar://problem/11112479>
llvm-svn: 153972
2012-04-03 21:50:26 +00:00
Bob Wilson
1944a74c98
Remove a reference to the C backend.
...
llvm-svn: 153971
2012-04-03 21:50:24 +00:00
Bob Wilson
cc2bf6e234
Remove broken command to copy tblgen tool.
...
tblgen has been renamed to llvm-tblgen so this command has been failing,
and it's no longer needed because llvm-tblgen is already installed by default.
llvm-svn: 147187
2011-12-22 22:12:40 +00:00
Bob Wilson
6269524bb5
Build llvmCore with RTTI enabled. <rdar://problem/10395761>
...
llvm-svn: 143714
2011-11-04 17:57:13 +00:00
Bob Wilson
3cbd97d1a6
Find the strip tool that works with the specified SDKROOT. rdar://10165908
...
llvm-svn: 141013
2011-10-03 18:48:16 +00:00
Bob Wilson
cf35a852f5
Remove old hack for compiling with gcc-4.0.
...
llvm-svn: 140573
2011-09-26 22:30:57 +00:00
Eric Christopher
2e1f5823a1
Migrate this to use clang by default as well.
...
llvm-svn: 139936
2011-09-16 20:36:22 +00:00
Eric Christopher
3163b0a2ce
We now look for clang, then llvm-gcc, then gcc as our compiler. We don't need
...
this anymore.
llvm-svn: 139935
2011-09-16 20:36:20 +00:00
Eric Christopher
d3438f7977
Update comment.
...
llvm-svn: 137188
2011-08-10 00:02:39 +00:00
Eric Christopher
9d54b488e0
clang is the new black.
...
llvm-svn: 137187
2011-08-09 23:59:05 +00:00
Stuart Hastings
f4420e43f1
Stop building PPC parts on OSX. Radar 8637926.
...
llvm-svn: 127262
2011-03-08 19:28:28 +00:00
Bob Wilson
d1f7c57667
Removed unnecessary dylibs from Apple builds, with or without "lib" prefix.
...
Radar 9056686
llvm-svn: 126534
2011-02-26 00:22:17 +00:00
Stuart Hastings
027804988e
Fix bad comment marker.
...
llvm-svn: 126525
2011-02-25 22:47:58 +00:00
Stuart Hastings
e43cfa5329
Omit lto.h from the llvmCore result; henceforth, this will be supplied
...
by clang. Radar 9042056.
llvm-svn: 126507
2011-02-25 20:42:39 +00:00
Eric Christopher
4580fc9a0d
I don't think I could find a 10.2.x box if I tried.
...
llvm-svn: 123051
2011-01-08 01:52:20 +00:00
Bill Wendling
f897a6bb16
Default to armv7 instead of armv6.
...
llvm-svn: 122457
2010-12-23 00:49:18 +00:00
Bob Wilson
cefd7c2b60
Do not install libBugpointPasses.dylib for Apple builds. Radar 8585383.
...
llvm-svn: 117172
2010-10-22 23:04:17 +00:00
Bob Wilson
ab226b9a10
Fix the name of libLLVMHello.dylib so that it does not get installed for
...
Apple builds. Radar 8585383.
llvm-svn: 117164
2010-10-22 22:10:57 +00:00
Bob Wilson
b9478f4ef7
Add an explicit -sdk option to xcrun command.
...
llvm-svn: 109196
2010-07-22 23:33:00 +00:00
Bob Wilson
b209e3d8d2
Add support for a new Apple-style build target, EmbeddedSim, that builds
...
llvmCore for the iOS Simulator.
llvm-svn: 108922
2010-07-20 20:44:02 +00:00
Bob Wilson
0a947ba099
Save a copy of the unstripped libLTO.dylib in $SYM_DIR. Clean up the code
...
for dealing with libLTO.dylib to put it all in one place and to allow
use of DISABLE_USR_LINKS.
llvm-svn: 108753
2010-07-19 21:33:07 +00:00
Bob Wilson
b9dbac8655
Remove the entire docs directory from Apple-style builds.
...
This fixes a "usr_junk" verification failure when installing into /usr.
llvm-svn: 108384
2010-07-14 23:49:18 +00:00
Bob Wilson
5c736e0034
Try to get embedded build of llvmCore to pass verification.
...
Simplify some things in the process.
llvm-svn: 108382
2010-07-14 23:41:58 +00:00
Bill Wendling
9dd05b0bf0
Use -l option to remove symbols from i386.
...
llvm-svn: 107212
2010-06-29 22:17:37 +00:00
Bill Wendling
e4647a0983
Strip resulting binaries.
...
llvm-svn: 107112
2010-06-29 01:08:57 +00:00
Bill Wendling
fb956a0e47
Generate DWARF information during Apple-style build. They'll be stripped out
...
later on. But we need them saved in the symbols directory.
llvm-svn: 106604
2010-06-22 23:44:15 +00:00
Bob Wilson
c9ffb114b4
Honor the SDKROOT setting when building llvm.
...
Radar 7894069.
llvm-svn: 105938
2010-06-14 17:56:25 +00:00
Bob Wilson
5ee6d0b151
Select an ARM-hosted cross build with a separate makefile target instead of
...
a magic project name.
llvm-svn: 103125
2010-05-05 22:22:40 +00:00
Bob Wilson
5010005c87
Remove special case for llvmCore_Embedded project. This is no longer needed
...
since llvmCore is built as part of llvmgcc42 now.
llvm-svn: 102962
2010-05-03 21:41:24 +00:00
Bob Wilson
1576577ead
Don't remove libLTO.dylib if it's not being installed in Developer/usr/lib;
...
just leave it in Developer/usr/local/lib.
llvm-svn: 102646
2010-04-29 18:04:29 +00:00
Bob Wilson
ed156c2212
Add an option to the Apple-style build to control whether libLTO.dylib should
...
be installed. Disable it by default.
llvm-svn: 102531
2010-04-28 21:08:01 +00:00
Bob Wilson
ba5b622a80
Fix inconsistent use of HOSTS and TARGETS variables.
...
llvm-svn: 102505
2010-04-28 18:06:27 +00:00
Bill Wendling
9a977ce8ce
Use "DISABLE_EDIS" to disable building "edis" explicitly. Don't build it for
...
Apple-style builds.
llvm-svn: 99336
2010-03-23 22:15:33 +00:00
Jim Grosbach
a83aafc043
Use llvm-gcc to build ARM when it's available
...
llvm-svn: 98770
2010-03-17 21:25:13 +00:00
Bob Wilson
c82f536a5c
The change in r90189 adds a link in a directory outside the iPhone platform
...
directory when building the llvmCore_Embedded project. Fix this by putting
the iPhone platform directory into DEST_DIR instead of DEST_ROOT. I also
noticed what appears to be an unintentional use of DEVELOPER_BIN instead of
DEVELOPER_DIR, so I fixed that and changed to use DEVELOPER_DIR in some places
that were hardcoded to "Developer". Finally, the other changes here allowed
some refactoring and simplification, which I have done.
llvm-svn: 93878
2010-01-19 16:42:10 +00:00
Bill Wendling
0de1598c3b
Some command lines don't like numbers with leading zeros. Remove them.
...
llvm-svn: 91463
2009-12-15 22:42:19 +00:00
Eric Christopher
7c99bfd96e
Add a soft link so that in an apple style build we can find libLTO.dylib.
...
llvm-svn: 90189
2009-12-01 02:26:01 +00:00
Evan Cheng
e83f2304f2
Look for llvm-gcc under /Developer/usr/bin first.
...
llvm-svn: 86023
2009-11-04 08:36:50 +00:00
Bill Wendling
eb0ca3bad7
Use llvm-gcc on newer Darwins.
...
llvm-svn: 85963
2009-11-03 22:50:10 +00:00
Jim Grosbach
104a2c2b79
Missing bit of universal built + hosted
...
llvm-svn: 85785
2009-11-02 03:46:35 +00:00
Jim Grosbach
b95117d568
The universal SDKROOT should only be assigned when hosted. Otherwise the
...
SDKROOT can refer to the target when we're building for the host.
llvm-svn: 85672
2009-10-31 18:00:10 +00:00