Mikael Urankar
237a71fe2c
lang/rust: Fix distinfo for armv7
...
PR: 283000
Reported by: Robert Clausecker <fuz@fuz.su >
2024-12-01 19:43:31 +01:00
Mikael Urankar
9474c17fbe
lang/rust: Update to 1.83.0
...
Announce: https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.83.0
PR: 283000
Tested by: mikael,pkubaj,vishwin
2024-12-01 10:23:26 +01:00
Jan Beich
c3e06e3173
lang/rust: fork 1.82 into a pinned port
...
A temporary workaround for games/veloren-weekly.
PR: 283039
2024-12-01 01:52:16 +01:00
Mikael Urankar
c348a54792
lang/rust: Fix build on armv7
...
PR: 282663
2024-11-22 09:40:03 +01:00
Mikael Urankar
560fd669d2
lang/rust: Regen bootstrap for armv7
...
PR: 282663
2024-11-14 16:30:31 +01:00
Alan Somers
b039f2e46b
lang/rust: enable SSE2 by default on i386
...
Upstream Rust always requires SSE2 for x86. But back in 2017[^1][^2] we
patched lang/rust to disable SSE2 for i386. At the time, it was
reported that some people were still using non-SSE2 capable hardware.
More recently, LLVM bugs have been discovered[^3][^4] that can result in
rounding bugs and reduced accuracy when using f64 on non-SSE hardware.
In weird cases, they can even cause wilder unpredictable behavior, like
segfaults.
Revert our change for the sake of Pentium 4 (and later) users. But add
an SSE2 option. Disabling it will allow the port to be used on Pentium
3 and older CPUs.
[^1]: https://github.com/freebsd/freebsd-ports/commit/d65b2886b1b3b2135f0b8982de4d9754517acf61
[^2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223415
[^3]: https://github.com/rust-lang/rust/issues/114479
[^4]: https://github.com/llvm/llvm-project/issues/44218
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D47227
2024-11-09 15:45:49 -07:00
Charlie Li
98cb8991b6
lang/rust: remove max LLVM version restriction for PORT_LLVM
2024-11-08 10:09:42 -05:00
Mikael Urankar
29120ed40f
lang/rust: Update to 1.82.0
...
Announce: https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.82.0
PR: 282516
Tested by: mikael,pkubaj
2024-11-08 09:24:19 +01:00
Mikael Urankar
05961664b7
lang/rust: drop "gnu" in the target env for armv6/7
...
PR: 282518
2024-11-08 09:24:19 +01:00
Charlie Li
2501f5298c
lang/rust: limit PORT_LLVM max to 18
...
LLVM 19 support only starts in Rust 1.82; this restriction will be
removed once the update is committed.
2024-10-17 23:18:44 -04:00
Mikael Urankar
9e25c683b8
lang/rust-nightly: Update to 1.83.0
2024-10-03 15:05:35 +02:00
Yuri Victorovich
da2f3f630c
devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
...
This reverts commit 52c0456dd5 .
I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00
Turbobot
52c0456dd5
feat(create-turbo): apply official-starter transform
2024-10-02 12:12:31 -07:00
Mikael Urankar
26df8c65a2
lang/rust: Update to 1.81.0
...
Announce: https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.81.0
PR: 281300
Tested by: mikael,pkubaj,Herbert J. Skuhra
2024-09-10 12:54:49 +02:00
Mikael Urankar
bc4fedc1fe
lang/rust: Update to 1.80.1
...
Announce: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html
https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.80.0
PR: 280490,246993
Tested by: mikael,pkubaj
2024-08-26 10:07:42 +02:00
Piotr Kubaj
923194c2b0
lang/rust: enable rls on powerpc
...
Builds fine on 13.3-RELEASE and newer.
2024-07-02 08:44:28 +02:00
Mikael Urankar
2f482fb4b1
lang/rust: Attempt to fix build on armv7
...
Reported by: mandree,mmel
2024-06-23 16:51:30 +02:00
Mikael Urankar
0f41de8c96
lang/rust: reintroduce EXTRA_PATCHES for specific ARCH
...
It was dropped in 988dc66236 but it's
still needed.
Reported by: mandree,mmel
2024-06-23 16:45:44 +02:00
Charlie Li
dbc2286b18
lang/rust: bump PORT_LLVM minimum version to 17
...
Source: https://github.com/rust-lang/rust/commit/1ac0239bd23e06330d7d8ba7fc40584bb13a460d
2024-06-18 08:56:04 -04:00
Mikael Urankar
f709c74213
lang/rust: Update to 1.79.0
...
Announce: https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.79.0
PR: 279707
Tested by: pkubaj,mikael
2024-06-18 12:59:01 +02:00
Mikael Urankar
dcf699af6b
lang/rust-nightly: Update to 2024-05-07
2024-05-13 13:04:10 +02:00
Mikael Urankar
7e86fe10e4
lang/rust: Update to 1.78.0
...
While here, disable RUST_BACKTRACE on ppc64le only
Announce: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.78.0
PR: 278834
Tested by: pkubaj,mikael
2024-05-13 13:03:21 +02:00
Dan McGregor
2a1d35b12b
lang/rust: remap debuginfo
...
Prior to this update, when the rust compiler generates warnings
or errors that refer to source code for the standard library, its
messaging use the build time path, rather than the installed path.
It's probably more useful for most users of rust to not have to
mentally rename files to find the files in question.
PR: 278133
Differential Revision: https://reviews.freebsd.org/D44547
2024-05-13 13:03:21 +02:00
Piotr Kubaj
54f7b9d654
lang/rust: enable RUST_BACKTRACE on powerpc since it seems it works now
2024-04-27 16:14:35 +02:00
Piotr Kubaj
033129624c
lang/rust: drop bfd on powerpc
2024-04-27 16:14:34 +02:00
Max Brazhnikov
43d9a1336d
*/*: convert to cmake:indirect
...
Convert bunch of ports to USES=cmake:indirect
2024-04-11 12:16:53 +03:00
Mikael Urankar
6f156f501c
lang/rust: Update bootstrap for aarch64
...
The previous one did not work.
PR: 277921
2024-03-26 13:43:32 +01:00
Mikael Urankar
73941e6741
lang/rust: Update to 1.77.0
...
Announce: https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.77.0
PR: 277786
Tested by: mikael
2024-03-23 10:41:45 +01:00
Mikael Urankar
06fa1fe217
lang/rust: Update bootstrap for powerpc
...
The previous one did not work.
Reported by: pkubaj
2024-02-25 19:57:19 +01:00
Mikael Urankar
5f41aae86e
lang/rust: Update bootstrap for aarch64
...
The previous one did not work.
PR: 277220
2024-02-24 14:07:29 +01:00
Charlie Li
d2fc4ce57d
lang/rust: bump PORT_LLVM minimum version to 16
...
Source: https://github.com/rust-lang/rust/commit/7de6d04bc8033644c09fd1273b6fb3164d04fab3
2024-02-19 09:10:01 -05:00
Mikael Urankar
2252f9df9d
lang/rust: Update to 1.76.0
...
Announce: https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.76.0
PR: 276920
Tested by: mikael,pkubaj
2024-02-19 12:59:01 +01:00
Piotr Kubaj
ddce67e0d0
lang/rust: remove not necessary patch
2024-01-10 10:47:12 +01:00
Mikael Urankar
f5538d2b59
lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on
...
PR: 276033
Reported by: Ale <discipline@tiscali.it >
2024-01-09 15:22:25 +01:00
Mikael Urankar
ba388fc3bb
lang/rust: Update to 1.75.0
...
Announce: https://blog.rust-lang.org/
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.75.0
PR: 276033
Tested by: mikael,pkubaj
2024-01-09 13:13:49 +01:00
Muhammad Moinur Rahman
bbab7f59e9
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
...
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Mikael Urankar
c926bbff4b
lang/rust: Update to 1.74.1
...
Announce: https://blog.rust-lang.org/2023/12/07/Rust-1.74.0.html
https://blog.rust-lang.org/2023/11/16/Rust-1.74.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.74.0
https://github.com/rust-lang/rust/releases/tag/1.74.1
PR: 275243
Tested by: mikael,pkubaj
2023-12-08 16:02:25 +01:00
Mikael Urankar
3966e6733b
lang/rust: Garbage collect powerpc patches
...
PR: 273753
2023-11-22 17:38:26 +01:00
Mikael Urankar
13de47f0ac
lang/rust: Update to 1.73.0
...
Announce: https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.73.0
PR: 274499
Tested by: mikael,pkubaj
2023-10-24 12:21:32 +02:00
Charlie Li
60fafb9242
lang/rust: fix typo uncaught from previous commit
...
Use ${LLVM_VERSION} provided from USES=llvm for consistency
2023-10-09 11:34:19 -04:00
Charlie Li
098de5bc21
lang/rust: resurrect PORT_LLVM as a non-default OPTION
...
Rust uses LLVM for code generation [0] and bundles their own copy
of a release that they fully support in relation to the rest of
rustc. This however adds to an already intensive build process. For
the benefit of those building from source, resurrect the PORT_LLVM
option, allowing to link with an existing devel/llvm port of the
user's choosing within Rust compatibility ranges. This remains unset
by default.
PORT_LLVM was removed during an era when Rust tracked LLVM trunk,
during the LLVM 7.0 development cycle. Starting with LLVM 8.0, Rust
tracks LLVM releases with upstream cherry-picks, similar to our
base system LLVM process. [1] Additionally, instead of making changes
directly in their bundled LLVM, llvm-wrapper takes care of anything
needed in that area. [2] Issues stemming from this option have since
been resolved or overcome.
[0] https://rustc-dev-guide.rust-lang.org/backend/codegen.html
[1] https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html
[2] https://github.com/rust-lang/rust/tree/master/compiler/rustc_llvm/llvm-wrapper
Co-authored-by: Evgeniy Khramtsov <2khramtsov_gmail.com>
Approved by: tobik (rust)
Differential Revision: https://reviews.freebsd.org/D32654
2023-10-09 11:30:33 -04:00
Mikael Urankar
fa87481392
lang/rust: Update to 1.72.0
...
Announce: https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.72.0
PR: 244316
Tested by: mikael,pkubaj
2023-09-08 11:05:43 +02:00
Mikael Urankar
e3d08dfcd4
lang/rust: Update to 1.71.0
...
Announce: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.71.0
PR: 272449
Tested by: mikael,pkubaj,vishwin
2023-07-17 17:57:41 +02:00
Piotr Kubaj
bf0af791ab
lang/rust: add LTO option
2023-07-16 12:58:20 +02:00
Tobias Kortkamp
8bcbc1e32c
lang/rust: Fix build with LibreSSL 3.7.x
...
PR: 266670
Obtained from: OpenBSD Ports
2023-06-30 13:40:19 +02:00
Rene Ladan
3d9a815d9c
all: remove explicit versions in USES=python for "3.x+"
...
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568 >
2023-06-27 21:34:34 +02:00
Mikael Urankar
1fbe8feadf
lang/rust: Documentation installation fix.
...
Add the missing _COMPONENTS for the documentation.
Differential Revision: https://reviews.freebsd.org/D40510
2023-06-20 12:29:14 +02:00
Mikael Urankar
d3462f66cf
lang/rust: Fix docs building.
...
Add the missing "pub struct sockcred2" in module "libc".
Error:
error[E0412]: cannot find type `sockcred2` in module `libc`
--> library/std/src/os/unix/net/ancillary.rs:211:29
|
211 | pub struct SocketCred(libc::sockcred2);
| ^^^^^^^^^ not found in `libc`
Reported by: kib
Differential Revision: https://reviews.freebsd.org/D40509
2023-06-20 12:29:13 +02:00
Mikael Urankar
c073e72f5f
lang/rust: Garbage collect shebangfix
...
These issues were fixed a year ago.
Differential Revision: https://reviews.freebsd.org/D40508
2023-06-20 12:29:13 +02:00
Mikael Urankar
6b9789547d
lang/rust: Update to 1.70.0
...
Announce: https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.70.0
PR: 271797
Tested by: mikael,pkubaj
2023-06-09 13:38:15 +02:00