309 Commits

Author SHA1 Message Date
jca
02f35abda1 Sync with base
From Brad
2021-09-19 17:49:23 +00:00
gkoehler
087bd55e9c Switch macppc to ld.lld
Add powerpc to LLD_ARCH, and bump _SYSTEM_VERSION-powerpc so people
will upgrade to lld-linked packages when they exist.  Remove
-Wl,--relax from several ports; ld.bfd needed this flag, but ld.lld
can't take it.

lang/gcc/8 needs USE_LLD = No, because LLD can't link C++ code from
gcc (error: relocation refers to a discarded section: ...), and also,
the adastrap is too old.

To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.

ok sthen@
2021-08-21 03:25:05 +00:00
naddy
4ad9976283 bump for plist changes 6.9 -> 7.0 2021-08-17 20:22:02 +00:00
jca
acb8a46aed Sync with base
From Brad
2021-08-14 02:46:18 +00:00
jca
a282558d98 Don't use libestdc++ on riscv64
sigh
2021-08-01 10:37:26 +00:00
jca
44e2d604f5 Sync gadget fixup optimization from base.
From Brad.
2021-07-12 23:54:05 +00:00
jca
209ed8dedc Sync RISCV change from base
From Brad
2021-06-27 16:10:23 +00:00
jca
98d2d3991d Sync with recent RISC-V changes in base
Initial diff from Brad
2021-05-22 20:27:35 +00:00
tb
05198c9b0b regen patch 2021-05-17 21:46:34 +00:00
tb
d58d1e1eb7 devel/llvm: unbreak scan-build
ccc-analyzer hardcodes gcc/g++ as default compiler name on non-Darwin
platforms.  This doesn't work so well if no gcc/g++ is available as has
been the case on amd64 (and all other platforms where gcc was deleted).

ok jca
2021-05-17 21:45:09 +00:00
jca
435ee4856c Update to llvm-11.1.0
Tested with a bunch of consumers on amd64, and lightly tested on sparc64
(me) and powerpc (cwen@).
2021-05-13 23:54:24 +00:00
sthen
dd6b865ed7 revert accidentally committed files 2021-03-15 21:02:10 +00:00
sthen
348dd587a2 update to py-ptyprocess-0.7.0, make py3-only 2021-03-15 20:53:22 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
jca
7de058906c Follow the -fno-common change in base-clang
From Brad
2021-02-16 23:47:40 +00:00
naddy
7cf8c1e52e bump for plist changes 6.8 -> 6.9 2021-02-06 22:08:34 +00:00
jca
6fb091b7ce loongson has moved to clang
from Brad
2020-12-22 22:29:01 +00:00
jca
469b067e18 Sync with base llvm
From Brad
2020-12-21 21:38:51 +00:00
jca
86b1e95304 Sync with base llvm
From Brad
2020-11-24 22:44:12 +00:00
jca
576530f97f Sync changes from base-clang
The previous commit was missing some files.  Ah, cvs...
From Brad
2020-11-18 21:20:00 +00:00
jca
dad7c7c329 Sync with changes in base-clang
From Brad
2020-11-18 21:13:37 +00:00
jca
7fdd7da2dd Sync -fno-ret-protector list with base Makefile.inc
From Brad
2020-11-10 12:05:50 +00:00
jca
f976bd0ffb mips64el hasn't switched to clang yet
Pointed out by Brad
2020-11-07 22:21:41 +00:00
jca
33ae21d347 Sync with base: performance optimizations CXXFLAGS
This adds:
-fno-ret-protector on powerpc and mips64el
-fomit-frame-pointer on mips64 and mips64el

Prompted by a similar diff from Brad
2020-11-07 11:45:52 +00:00
jca
945b261b77 Attempt to fix build on powerpc
Apparently -mlong-calls does more harm than good these days.
From Brad.

http://build-failures.rhaalovely.net/arm/2020-06-03/devel/llvm,,-main.log
2020-11-03 21:36:30 +00:00
sthen
350ae20cdd update lang/gcc to 8.4.0, from Brad, ok pascal@
has been through bulk builds on i386 sparc64
2020-09-04 09:55:34 +00:00
naddy
c552ea72f3 bump for plist changes 6.7 -> 6.8 2020-08-31 22:20:49 +00:00
jca
03728a3308 Zap local comment that wasn't picked up upstream
From Brad Smith.
2020-08-27 00:09:09 +00:00
jca
063b398498 Sync with base
Zap outdated powerpc alignement fix, fixed upstream in a different way.
From Brad Smith.
2020-08-26 10:33:47 +00:00
jca
f07215d215 Default to libc++ on powerpc64 2020-08-11 08:28:53 +00:00
jca
91a67452c3 Follow base and update to llvm-10.0.1 2020-08-10 11:38:43 +00:00
jca
97c836c4ba Add a comment and fix a typo 2020-08-09 14:17:26 +00:00
jca
474c1dedef Drop patch, merged upstream
The patch in cvs duplicated the content of the original testcase.
2020-08-09 14:14:42 +00:00
jca
7523bb12d6 Drop two outdated comments
from Brad
2020-08-09 14:12:30 +00:00
jca
cbd1c499a9 Bump libclang.so and friends
libclang.so is used by other ports and the update to llvm 10 warranted
a minor bump.  I haven't checked liblldb.so and libLTO.so, I bumped
their major version just in case but they aren't used in the ports tree.

Thanks to kn@ who provided an old libclang.so for comparison.
2020-08-07 22:49:06 +00:00
jca
50a2a85b0a Misc changes: x86 defaults to i586, backport a fix and tweak the PLISTs
- like base-clang, change the default i386 target cpu to i586.
Same diff from Brad
- fix a crash exposed by net/libtorrent-rasterbar.  Fix already present
in 10.0.1, analyze and diff from Nam Nguyen
- some lldb-related files snuck in the 10.0.0 PLIST-main changes, move
them to PLIST-lldb as appropriate.  Reported by daniel@
2020-08-07 11:42:02 +00:00
jca
2794487c37 Update to llvm-10.0.0
Positive feedback from landry@
2020-08-05 06:49:48 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
jca
698137a55c Yet another python2 vs 3 fix: don't pick up libpython2.7.so at configure time
libpython2.7 could be picked up even though the python3 interpreter was
detected and used.  This lead to a funny line in configure output:
-- Found PythonLibs: /usr/local/lib/libpython2.7.so.0.0 (found version "3.7.7")

Let cmake pick a library version that matches the python interpreter
instead of declaring a preference for 2.7.

Build failure reported by naddy@
2020-06-16 00:26:23 +00:00
gkoehler
01535c2e99 Mips, PowerPC changes from base-clang
Mips: Use a distinct trapcode with retguard on mips64.

PowerPC:
 - Set max atomic size for AtomicExpandPass.
 - For OpenBSD/powerpc64: switch to ELFv2, use _mcount profiling, and
   add our OpenBSD specific defines.
 - Optimize away the frame pointer.

ok jca@ (maintainer), cwen@
2020-06-15 21:34:58 +00:00
jca
b569be790c Partial sync with base-clang 2020-05-19 10:05:47 +00:00
cwen
17f3a7653c llvm: add powerpc improvements from base clang:
- fix small pic for secure-plt mode (from kettenis@)
- modify LLVM's DAGCombiner to skip an optimization if it
  would make an illegal ISD::ADDE node, fixing a fatal backend error
  (from gkoehler@ with help from mortimer@)

OK jca@ (maintainer)
2020-05-18 22:28:22 +00:00
jca
16a1c93faf On non-clang archs, g++ is already in BUILD_DEPENDS
So don't list it in TEST_DEPENDS.
2020-04-22 09:59:45 +00:00
naddy
e8092ac1dd bump for plist changes 6.6 -> 6.7 2020-04-05 15:44:52 +00:00
jca
6ace77049c Use libc++ (not libestdc++) on powerpc
sparc64 will follow once base has done the switch
2020-04-04 21:48:39 +00:00
jca
6db569706c Switch llvm to python3
While here:
- adjust python scripts shebang lines
- also byte-compile the .py files in the lldb subpackage.  One file
  needs a brute-force conversion using 2to3

Tested in a bulk by ajacoutot@, prompted by and ok kn@
2020-03-22 00:58:36 +00:00
jca
5342f82d30 Drop gtest from RUN_DEPENDS
The installed headers don't need it, except for a testsuite header not
used by the ecosystem.
Also drop two outdated PLIST lines from back when llvm tried to install
libgtest.a

Spotted while discussing the deps of the various subpackages with kn@
Tested in a bulk by ajacoutot@, ok kn@
2020-03-22 00:57:51 +00:00
jca
aa5673c526 Drop bogus test target
Long overdue...
2020-03-15 19:33:32 +00:00
naddy
47517a7414 bump the remaining subpackages; all PLISTs changed 2020-03-06 22:22:03 +00:00
jca
373996e012 Some PLIST tweaks
- don't install six.py, turns out there's a cmake config knob for that
- drop misplaced, @commented out header
- add @so and @static-lib markers

Don't use DEBUG_PACKAGES for now, as the size increase of ${WRKBUILD} is
huge.  I tried to use -gline-tables-only (I think?) as advised by kmos@
but the size of the resulting non-debug packages increased.  To be
revisited...
2020-03-06 14:39:57 +00:00