Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize "platform names" for non-x86 architectures #3453

Open
t-sommer opened this issue Nov 29, 2023 · 4 comments
Open

Standardize "platform names" for non-x86 architectures #3453

t-sommer opened this issue Nov 29, 2023 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@t-sommer
Copy link

Currently the MLS (3.7-dev, p. 205) defines only "platform names" for x86 and x86_64 on Windows and Linux:

– "win32" (Microsoft Windows 32 bit)
– "win64" (Microsoft Windows 64 bit)
– "linux32" (Linux Intel 32 bit)
– "linux64" (Linux Intel 64 bit)

I suggest to adopt the platform tuple of FMI 3.0 to support other architectures and operating systems (e.g. macOS on Apple Silicon and Windows on ARM).

@t-sommer t-sommer added the enhancement New feature or request label Nov 29, 2023
@maltelenz
Copy link
Collaborator

#2220

@HansOlsson
Copy link
Collaborator

The platform tuple is a flat format - which for will make it somewhat messy, especially for different ABI-versions.
In addition it is somewhat unclear how to efficiently handle different ABI-versions if you have multiple libraries.

If you have two libraries: one that need different versions for different ABI-versions and one that doesn't; do you have to duplicate the one that doesn't or are both library-directories added to the library-path?

ABI-versions are also often more complicated when it matter - VS 2022 is generally binary backwards compatible with VS 2015; but there was a major ABI-break between 2015 and 2012 (and VS 2012 had a minor but most annoying C-API breaking change). I assume there are similar considerations for gcc.

@DagBruck
Copy link
Collaborator

Really, some organization with more authority on the topic than MA should already have decided such a naming convention? Let's just steal something and point to the source.

@DagBruck
Copy link
Collaborator

I assume there are similar considerations for gcc.

Well, at least we have the problem with different Linux kernels and libc, although the issues for complete applications with GUI seem more complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants