pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mrust: add 1st pass at capturing TODO items



Module Name:	pkgsrc-wip
Committed By:	Dave Berger <pkgsrc-mrust%web5by5.com@localhost>
Pushed By:	dave
Date:		Wed Jan 12 22:50:58 2022 -0500
Changeset:	0d731888f17901db6a127c3e0280820299b9cbc8

Added Files:
	mrust/TODO

Log Message:
mrust: add 1st pass at capturing TODO items

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d731888f17901db6a127c3e0280820299b9cbc8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mrust/TODO | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diffs:
diff --git a/mrust/TODO b/mrust/TODO
new file mode 100644
index 0000000000..28d412a06c
--- /dev/null
+++ b/mrust/TODO
@@ -0,0 +1,45 @@
+These aren't in a particular order (as of this writing), except
+maybe the order they occurred to em [-DLB]
+
+ *  = new upstream snapshot =
+    rework the mrust package-set to use a newer upstream snapshot
+    (I believe the mrustc project is now able to compile rust
+    1.54 on linux rather than being limited to 1.39)
+
+ *  = "optimize" llvm phase =
+    if possible, factor out the llvm portion of the build--which
+    currently occurs as part of the mrust-rustc subpackage--so
+    that it either
+     a) lives in its own mrust-llvm subpackage, or
+     b) depends on a pkgsrc llvm package instead (enabling the
+        mrust-rustc package to skip the llvm phase entirely)
+    [c) capable of both? perhaps via an "option" or something? ]
+    This would really help troubleshooting, because the llvm
+    build phase is usually one of the most reliable, yet one of
+    the most time-expensive phases of the mrust* suite, so if it
+    could be separated out and skipped when not actually
+    necessary, it could significantly speed up the debugging
+    troubleshooting process of the rest of the mrust-rustc phase
+
+ *  = save distfiles/ space on rustc src =
+    somehow, use a shared copy of "rustc-1.39.0-src.tar.gz" with
+    the rest of distfiles/ rather than putting a (possibly
+    duplicate) copy in an mrustc subdir
+
+ *  = block (inadvertent) downloads =
+    add configuration so that every subpackage that invokes any
+    kind of upstream make commands does so with a
+    "socket buffer size" limit of 0 (e.g., limit -h sock 0m) in
+    every stage after fetch, so that accidental binary downloads
+    can't occur (rust builds are prone to these); I did this in
+    my pre-pkgsrc work on porting mrustc to NetBSD, but I don't
+    know how to do it in pkgsrc
+
+ *  = next stages =
+    add subpackages or targets to
+     a) rebuild rustc & crate with "itself": or, more exactly,
+        the mrustc built rustc & cargo
+     b) bootstrap the next version (e.g., 1.40) with either
+        mrust-rust & mrust-cargo, or the above self-rebuilt ones
+     c) run the x.py rust testsuite
+


Home | Main Index | Thread Index | Old Index