Notes on what I had to do it setup an IPv6 only Ubuntu bionic 20.04 host.
updated: 2020-04-06 (virus times, whatcha gonna do?)
updated: 2020-10-24 (still virus times...)
2022-03-22, Posted as a Gist because it always should've been...
"""Microbenchmark of multiprocessing process spawn rate. | |
Optional command line parameters: | |
The first is the number of repeated runs in order to compute a StdDev | |
as an indicator of reliability on the Procs/sec result. | |
The second is the multiprocessing start method to use. | |
The third overrides the max active processes. |
#!/usr/bin/env python3.12 | |
# LICENSE: Apache 2.0 | |
import itertools | |
import time | |
import threading | |
import sys | |
def issue115533_workaround_wait_for_non_daemon_threads( |
# Make an Ubuntu 22.04 Docker image supporting CUDA and Linux 4 Tegra stuff on | |
# the nVidia Jetson Nano. I ran this from the final nano Linux 4 Tegra JetPak | |
# image aka jetson-nano-jp461-sd-card-image.zip which I updated to 4.6.3 | |
# using apt. -- @gpshead | |
# | |
# Is there any real point to doing this? I have no idea. :P | |
# If you don't care about toying with the GPU stuff, just go install Armbian. | |
# | |
# This is based off of the instructions on | |
# https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-Container-Runtime-on-Jetson |
diff -Nru Python-1.4/Include/modsupport.h Python-1.4.18/Include/modsupport.h | |
--- Python-1.4/Include/modsupport.h 1996-10-25 07:38:33.000000000 -0700 | |
+++ Python-1.4.18/Include/modsupport.h 2018-04-01 18:47:56.279934265 -0700 | |
@@ -93,7 +93,7 @@ | |
The full MS_DLL_VERSION_ID is imbedded in the core DLL, and | |
is so installers can determine incremental changes. | |
*/ | |
-#define MS_DLL_ID "1.4.0" | |
+#define MS_DLL_ID "1.4.18" | |
#define MS_DLL_VERSION_ID MS_DLL_ID "." PYTHON_API_STRING |