Fangrui Song
f599116152
[Driver,test] Remove --gcc-toolchain=""
...
This option was added so that changing CMake GCC_INSTALL_PREFIX would
not cause test failures or due to cargo culting. Setting
GCC_INSTALL_PREFIX leads to an error now and we should stop making our
tests ugly.
2024-04-02 10:40:19 -07:00
Brad Smith
357b8b46b1
[Driver] Remove tests for NetBSD 7. No longer supported.
2023-12-01 18:56:22 -05:00
Brad Smith
62ffbe0dcc
[Driver] Hook up NetBSD/riscv support ( #67256 )
2023-09-24 16:29:46 -04:00
Brad Smith
a009fa79a4
[Driver] Some improvements for path handling on NetBSD ( #66863 )
...
- Make use of concat macro with various paths
- Replace usage of = with SysRoot
2023-09-20 12:50:37 -04:00
Brad Smith
9a9827dc11
[Driver][NetBSD] Simplify NetBSD version handling
...
NetBSD 6.x and older is ancient. Remove now unnecessary version check.
Reviewed By: mgorny
Differential Revision: https://reviews.llvm.org/D146891
2023-03-27 00:01:42 -04:00
Brad Smith
7f56488246
Fix for tests on Windows buildbot
2023-01-05 21:25:32 -05:00
Brad Smith
e449e1dff9
[Driver] move NetBSD header search path management to the driver
...
This matches OpenBSD and FreeBSD. https://reviews.llvm.org/D138183
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D140817
2023-01-05 06:13:40 -05:00
Fangrui Song
332d5204c5
[Driver][test] Remove unneeded -no-canonical-prefixes and -o %t.o
...
Similar to 980679981fbc311bc07f8cd23e3739fd56c22d2a
2022-06-05 16:06:09 -07:00
Petr Hosek
7b27454477
[ADT] Normalize empty triple components
...
LLVM triple normalization is handling "unknown" and empty components
differently; for example given "x86_64-unknown-linux-gnu" and
"x86_64-linux-gnu" which should be equivalent, triple normalization
returns "x86_64-unknown-linux-gnu" and "x86_64--linux-gnu". autoconf's
config.sub returns "x86_64-unknown-linux-gnu" for both
"x86_64-linux-gnu" and "x86_64-unknown-linux-gnu". This changes the
triple normalization to behave the same way, replacing empty triple
components with "unknown".
This addresses PR37129.
Differential Revision: https://reviews.llvm.org/D50219
llvm-svn: 339294
2018-08-08 22:23:57 +00:00
Joerg Sonnenberger
79557db932
Extend NetBSD/AArch64 to cover Big Endian as well.
...
llvm-svn: 291436
2017-01-09 11:22:14 +00:00
Jonas Hahnfeld
099541907f
Make FreeBSD and NetBSD use CLANG_DEFAULT_CXX_STDLIB
...
Also introduce -stdlib=platform to override the configured value
and use it to make the tests always pass.
Differential Revision: http://reviews.llvm.org/D17286
llvm-svn: 263434
2016-03-14 14:34:04 +00:00
Joerg Sonnenberger
059613cb68
Now that Sparc/Sparc64 backend is mostly usable, provide the same
...
linking defaults as other NetBSD targets, i.e. compiler_rt-in-libc and
libc++ as STL.
llvm-svn: 260616
2016-02-11 23:18:36 +00:00
Joerg Sonnenberger
dd13b30c29
For NetBSD, use the same settings for PPC64 as for PPC when it comes to
...
integrated assembler, libc++ and libgcc. Set emulation for ld for both
platforms for correct -m32 handling.
llvm-svn: 215551
2014-08-13 14:17:32 +00:00
Joerg Sonnenberger
323cea90da
NetBSD/aarch64 has no libgcc or libstdc++. Drop arm64 tests.
...
llvm-svn: 215291
2014-08-09 18:28:36 +00:00
Joerg Sonnenberger
c888757a2d
Now that PIC generation on PPC32 is supported, hook up linking support
...
for NetBSD.
llvm-svn: 213972
2014-07-25 20:57:24 +00:00
Joerg Sonnenberger
1ea6647838
Drop libgcc and default to libc++ for NetBSD/ARM on 6.99.40+.
...
Don't bother with keeping the old support for x86_64 in 6.99.23+, just
use a single range. Update test cases for the always-on --eh-frame-hdr.
llvm-svn: 208170
2014-05-07 08:45:26 +00:00
James Molloy
96061a6db1
[ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.
...
This covers all tests in tests/Driver and tests/Preprocessor, but there are some
failing tests in test/Sema that need looking into.
llvm-svn: 206464
2014-04-17 12:51:36 +00:00
Joerg Sonnenberger
8280abe47f
Handle -m32 for NetBSD/sparc64 correctly. Extend test case to also check
...
ARM, MIPS and i386 ABIs.
llvm-svn: 206416
2014-04-16 20:44:17 +00:00
Joerg Sonnenberger
ed3f0693cb
Hook up NetBSD/sparc and NetBSD/sparc64 as and ld invocations.
...
llvm-svn: 201730
2014-02-19 22:40:18 +00:00
Joerg Sonnenberger
9853439b5b
Hook up NetBSD/aarch64.
...
llvm-svn: 199124
2014-01-13 18:25:15 +00:00
NAKAMURA Takumi
d936911923
clang/test/Driver/netbsd.c*: Tweak path separators to be matched on win32 driver.
...
llvm-svn: 192676
2013-10-15 06:36:47 +00:00
Joerg Sonnenberger
033e5a21fa
Provide a dummy NetBSD tree and use --sysroot in the driver test.
...
llvm-svn: 192641
2013-10-14 23:26:44 +00:00
Joerg Sonnenberger
a443563ff0
For NetBSD/current on X86 do not use libgcc and default to libc++.
...
Adjust linkage to make more sense for older releases.
llvm-svn: 192615
2013-10-14 20:13:05 +00:00