[Vm-dev] Proposal | Clean-up source tree's *src folders

Eliot Miranda eliot.miranda at gmail.com
Tue Jul 13 16:04:15 UTC 2021



> On Jul 13, 2021, at 1:53 AM, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> 
> 
> Hmm... all of our build systems are able to create symlinks, right? Couldn't we just create that "src/vm" symlink to point to the particular flavor? Hmm....

I would council against this.  We’ve tried using symlinks in 3dicc builds abd have issues with git and Windows 10 that result in corrupted repositories.  Let’s not rely on symlinks.  Make has much better support for variables and substitutions than file systems.

>> Am 13.07.2021 09:38:36 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
>> 
>> Ah, I noticed the pattern "../../platforms" (or similar). Well, by flattening the sources one level, that pattern would still work.
>> 
>> <image.png>
>> 
>> Best,
>> Marcel
>>> Am 13.07.2021 09:22:24 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
>>> 
>>> Please find attached a change set for VMMaker and a screenshot of what the src folder would look like. A diff for all build files will follow soon here on this list.
>>> 
>>> <image.png>
>>> 
>>> 
>>> Best,
>>> Marcel
>>>> Am 13.07.2021 08:49:24 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
>>>> 
>>>> Hi all!
>>>> 
>>>> I would like to clarify (or re-arrange) the structure of the source tree so that we can continue to work on existing and experiment on new flavors of the VM. They would then better match our build structure:
>>>> 
>>>> /src/plugins -> (same)
>>>> 
>>>> /src/vm -> /src/vm.32bit.cog.v3
>>>> /stacksrc/vm -> /src/vm.32bit.stack.v3
>>>> 
>>>> /spurstacksrc/vm -> /src/vm.32bit.stack.spur
>>>> /spurstack64src/vm -> /src/vm.64bit.stack.spur
>>>> /spursrc/vm -> /src/vm.32bit.cog.spur
>>>> /spur64src/vm -> /src/vm.64bit.cog.spur
>>>> /spursistasrc/vm -> /src/vm.32bit.sista.spur
>>>> /spursista64src/vm -> /src/vm.64bit.sista.spur
>>>> 
>>>> /nsspurstacksrc/vm -> /src/newspeak.vm.32bit.stack.spur
>>>> /nsspurstack64src/vm -> /src/newspeak.vm.64bit.stack.spur
>>>> /nsspursrc/vm -> /src/newspeak.vm.32bit.cog.spur
>>>> /nsspur64src/vm -> /src/newspeak.vm.64bit.cog.spur
>>>> 
>>>> /spurlowcodestacksrc/vm -> /src/lowcode.vm.32bit.stack.spur
>>>> /spurlowcodestack64src/vm -> /src/lowcode.vm.64bit.stack.spur
>>>> /spurlowcodesrc/vm -> /src/lowcode.vm.32bit.cog.spur
>>>> /spurlowcode64src/vm -> /src/lowcode.vm.64bit.cog.spur
>>>> 
>>>> This would make 15 different *src folders disappear from the source tree's toplevel. Flavor-specific plugin lists might be defined from within VMMaker and generated into their respective src folders.
>>>> 
>>>> Also, there would be a clear place for /src/vm.32bit.interpreter.v3 too :-)
>>>> 
>>>> Thoughts? Opinions? Objections?
>>>> 
>>>> Best,
>>>> Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210713/4b7efda1/attachment.html>


More information about the Vm-dev mailing list