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

add support for linux on s390/s390x #4688

Closed
scddev opened this issue Mar 6, 2019 · 2 comments · Fixed by #4810
Closed

add support for linux on s390/s390x #4688

scddev opened this issue Mar 6, 2019 · 2 comments · Fixed by #4810

Comments

@scddev
Copy link
Contributor

scddev commented Mar 6, 2019

https://en.wikipedia.org/wiki/Linux_on_z_Systems

In our CI we are running "normal" Linux distributions like Ubuntu and Red Hat on s390/s390x.

To publish and fetch packages, we would need support for s390 (31bit, yes, gcc will need -m31) and s390x (64bit).

>>> import platform
>>> platform.system()
'Linux'
>>> platform.machine()
's390x'
>>> platform.processor()
's390x'
>>>
@lasote
Copy link
Contributor

lasote commented Mar 11, 2019

Hi, we are going to need some help here. We have to know exactly which changes would Conan need to support this:

  • Support new architectures in the settings.yml file.
  • The flag for the architecture in the compiler_flags.py module
  • CMake requires something? Other build helpers?

If you could try manually to add the changes and verify if it works for you would be nice, honestly, it is the first time I hear about these systems.

@scddev
Copy link
Contributor Author

scddev commented Mar 11, 2019

Hi, no problem, I can implement it myself and prepare a PR with all the changes as soon as I have some time.

@ghost ghost removed the stage: queue label Mar 25, 2019
lasote pushed a commit that referenced this issue Mar 25, 2019
* add s390 and s390x to arch

* add detection of s390/s390x

* add test for compiler flags

* add gnu triplet for s390/s390x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants