Graham Markall

@gmarkall
313 Followers
405 Following
408 Posts
Professional interests: Python, CUDA, Compilers.
Personal interests: RISC-V, PSXDev, OSHW, 日本語.
Recreation: family time, cycling, running, cooking.
Githubhttps://github.com/gmarkall
Personal site:https://big-grey.co.uk

Checking the docs for the Python site module - it reads like it gets an update every time someone shoots themselves in the foot with it... E.g.:

" Any other exception causes a silent and perhaps mysterious failure of the process."

"no check is made that the item refers to a directory rather than a file."

" If this import fails with an ImportError or its subclass exception, and the exception’s name attribute equals 'sitecustomize', it is silently ignored."

https://docs.python.org/3/library/site.html

site — Site-specific configuration hook

Source code: Lib/site.py This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s-S option. Importing this module normally appends...

Python documentation
@Bobbins If they point to an FPGA board and ask what it does, do not respond "It could do ANYTHING!"
@popey Holy shit, you can read that from a few feet away?!
@burtyb "You remind me of a man." "What man?" "The man with the power." "What power?" "The power of sudo." "udo?" "udo!"
@ScottE Thanks! If I get this setup, I'd like to try a "native compile LLVM" vs "cross compile LLVM" benchmark.
@amonakov Ah, thanks for the pointer - I got the impression buildroot did a lot more (like building a whole system)... I guess I was a bit vague about my intentions in the post, but my aim was to build the kernel and then modify it, rather than just a quick "build toolchain then build unmodified kernel" which would be a straightforward thing to do with buildroot?
@ScottE Ah, this is a great idea - I presume this means it's easy to cross-compile stuff that wouldn't normally be so amenable to it? (e.g. because its build system doesn't anticipate it / isn't tested with it)
LinkedIn, in a nutshell