Newbie Common Lisp question -- is there anything similar to "virtualenv" in the Common #Lisp world?
I have QuickLisp beta installed; but, it seems to fill a role more similar to pip in the Python world.
Newbie Common Lisp question -- is there anything similar to "virtualenv" in the Common #Lisp world?
I have QuickLisp beta installed; but, it seems to fill a role more similar to pip in the Python world.
Always used to use 'modules' to manage all manner of application and library versioning.
https://modules.readthedocs.io/en/latest/
See perhaps the example for bar/1 at
https://modules.readthedocs.io/en/latest/cookbook/top-priority-values.html#usage-example
There seems to be heaps of sophisticated mechanism, but all that's needed in most cases is a modulefile for each version of a tool which typically contains just sets and appends:
# define a regular value for variable
setenv TESTVAR value
# prepend a regular value to a path-like variable
prepend-path TESTPATH prevalue
and then part of the environment setup is one or more
module load toolname/version
shell commands
The crucial observation is that tools (should) only know anything by dint of what's in the environment, so manipulating the environment in a controlled way is all you need to create a configuration-managed workflow.
Typically we'd've written top level module files which pick up a suite of tool-versions for a specific chip build purpose.
The idea was that you could pick up a two-year-old revision of source and trivially acquire all the vintage-appropriate tooling for it.