Starter project: Port Swift to RHEL 7 / CentOS 7 / Scientific Linux 7


(Dmitri Gribenko) #1

Hi,

RHEL 7 and CentOS 7 are widely used as server operating systems, and
porting Swift to these distributions would benefit many community
members. It should be relatively easy to do, since RHEL 7 is
fundamentally another Linux system that uses the same basic libraries
as other Linux ports we already (Glibc, libstdc++), and the library
versions are more or less recent.

This project is an easy way to become familiar with the build system,
and various components of the project, and to start contributing!

https://bugs.swift.org/browse/SR-108

Dmitri

···

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/


(Meador Inge) #2

Hi,

RHEL 7 and CentOS 7 are widely used as server operating systems, and
porting Swift to these distributions would benefit many community
members. It should be relatively easy to do, since RHEL 7 is
fundamentally another Linux system that uses the same basic libraries
as other Linux ports we already (Glibc, libstdc++), and the library
versions are more or less recent.

This project is an easy way to become familiar with the build system,
and various components of the project, and to start contributing!

https://bugs.swift.org/browse/SR-108

I will take a look at CentOS 7 (I don't have access to the RHEL).

Is it okay to assign JIRA bugs to myself?

-- Meador

···

On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev < swift-dev@swift.org> wrote:


(Dmitri Gribenko) #3

Hi,

RHEL 7 and CentOS 7 are widely used as server operating systems, and
porting Swift to these distributions would benefit many community
members. It should be relatively easy to do, since RHEL 7 is
fundamentally another Linux system that uses the same basic libraries
as other Linux ports we already (Glibc, libstdc++), and the library
versions are more or less recent.

This project is an easy way to become familiar with the build system,
and various components of the project, and to start contributing!

https://bugs.swift.org/browse/SR-108

I will take a look at CentOS 7 (I don't have access to the RHEL).

Great! Thank you!

Is it okay to assign JIRA bugs to myself?

Absolutely.

Dmitri

···

On Mon, Dec 7, 2015 at 10:25 AM, Meador Inge <meadori@gmail.com> wrote:

On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev > <swift-dev@swift.org> wrote:

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/


(Manolo van Ee) #4

I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Same here though, no access to RHEL.

FYI:
The mixin_linux_installation preset builds on Fedora 23, but the created swift binary does not support the REPL.

Tried the buildbot_linux_1510 preset on Fedora 23 as well, but that one fails to build.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Manolo

···

On 07 Dec 2015, at 19:30, Dmitri Gribenko via swift-dev <swift-dev@swift.org> wrote:

On Mon, Dec 7, 2015 at 10:25 AM, Meador Inge <meadori@gmail.com> wrote:
On Mon, Dec 7, 2015 at 11:47 AM, Dmitri Gribenko via swift-dev >> <swift-dev@swift.org> wrote:

Hi,

RHEL 7 and CentOS 7 are widely used as server operating systems, and
porting Swift to these distributions would benefit many community
members. It should be relatively easy to do, since RHEL 7 is
fundamentally another Linux system that uses the same basic libraries
as other Linux ports we already (Glibc, libstdc++), and the library
versions are more or less recent.

This project is an easy way to become familiar with the build system,
and various components of the project, and to start contributing!

https://bugs.swift.org/browse/SR-108

I will take a look at CentOS 7 (I don't have access to the RHEL).

Great! Thank you!

Is it okay to assign JIRA bugs to myself?

Absolutely.

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Dmitri Gribenko) #5

Thanks! As I mentioned in the pull request, please fix the code
style, and I'll merge it.

Dmitri

···

On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee <manolo.vanee@gmail.com> wrote:

I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Same here though, no access to RHEL.

FYI:
The mixin_linux_installation preset builds on Fedora 23, but the created swift binary does not support the REPL.

Tried the buildbot_linux_1510 preset on Fedora 23 as well, but that one fails to build.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/


(Meador Inge) #6

I'd be happy to help out as well with Centos 7 if we can easily divide

tasks. Otherwise I can focus on Fedora, which should be similar, but might
behave a little different.

Thanks!

I plan on scoping it out later today. I will update SR-108 with my
findings (including whether the work can easily be broken down).

Continuing with Fedora for now sounds good to me.

I fixed the Glibc header problem, which you will undoubtedly encounter on

Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Ah, great. Thanks for the pointer.

Cheers,

Meador

···

On Mon, Dec 7, 2015 at 1:42 PM, Manolo van Ee <manolo.vanee@gmail.com> wrote:


(Manolo van Ee) #7

I will, probably early tomorrow (CET). I also noticed that I left the "copy_glibc_module" custom command target in there, which should've been removed. By the way, is it ok to amend and force push the pull request, or is that considered bad practice? I read arguments for and against it.

···

On 07 Dec 2015, at 20:53, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee <manolo.vanee@gmail.com> wrote:
I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Same here though, no access to RHEL.

FYI:
The mixin_linux_installation preset builds on Fedora 23, but the created swift binary does not support the REPL.

Tried the buildbot_linux_1510 preset on Fedora 23 as well, but that one fails to build.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Thanks! As I mentioned in the pull request, please fix the code
style, and I'll merge it.


(Manolo van Ee) #8

No problem, I'll keep an eye on SR-108 and will update you if I find anything else that might be useful. Although, I probably don't have much time to investigate anything before the weekend.

Regards,
Manolo

···

On 07 Dec 2015, at 22:57, Meador Inge <meadori@gmail.com> wrote:

On Mon, Dec 7, 2015 at 1:42 PM, Manolo van Ee <manolo.vanee@gmail.com> wrote:

I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Thanks!

I plan on scoping it out later today. I will update SR-108 with my findings (including whether the work can easily be broken down).

Continuing with Fedora for now sounds good to me.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Ah, great. Thanks for the pointer.

Cheers,

Meador


(Dmitri Gribenko) #9

It is OK to force push.

Dmitri

···

On Mon, Dec 7, 2015 at 1:52 PM, Manolo van Ee <manolo.vanee@gmail.com> wrote:

On 07 Dec 2015, at 20:53, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee <manolo.vanee@gmail.com> wrote:
I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Same here though, no access to RHEL.

FYI:
The mixin_linux_installation preset builds on Fedora 23, but the created swift binary does not support the REPL.

Tried the buildbot_linux_1510 preset on Fedora 23 as well, but that one fails to build.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Thanks! As I mentioned in the pull request, please fix the code
style, and I'll merge it.

I will, probably early tomorrow (CET). I also noticed that I left the "copy_glibc_module" custom command target in there, which should've been removed. By the way, is it ok to amend and force push the pull request, or is that considered bad practice? I read arguments for and against it.

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/


(Manolo van Ee) #10

Good to know, thanks!

···

On 07 Dec 2015, at 22:56, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Mon, Dec 7, 2015 at 1:52 PM, Manolo van Ee <manolo.vanee@gmail.com> wrote:

On 07 Dec 2015, at 20:53, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Mon, Dec 7, 2015 at 11:42 AM, Manolo van Ee <manolo.vanee@gmail.com> wrote:
I'd be happy to help out as well with Centos 7 if we can easily divide tasks. Otherwise I can focus on Fedora, which should be similar, but might behave a little different.

Same here though, no access to RHEL.

FYI:
The mixin_linux_installation preset builds on Fedora 23, but the created swift binary does not support the REPL.

Tried the buildbot_linux_1510 preset on Fedora 23 as well, but that one fails to build.

I fixed the Glibc header problem, which you will undoubtedly encounter on Centos 7 as well. See pull request:
https://github.com/apple/swift/pull/282

Thanks! As I mentioned in the pull request, please fix the code
style, and I'll merge it.

I will, probably early tomorrow (CET). I also noticed that I left the "copy_glibc_module" custom command target in there, which should've been removed. By the way, is it ok to amend and force push the pull request, or is that considered bad practice? I read arguments for and against it.

It is OK to force push.

Dmitri