swiftenv icon indicating copy to clipboard operation
swiftenv copied to clipboard

Align swiftenv-build works with Swift 3.x

Open sinoru opened this issue 8 years ago • 8 comments

This make swiftenv-build using self-defined presets that almost same as swift linux build one.

sinoru avatar Dec 13 '16 03:12 sinoru

Testing:

  • [ ] 2.2.1 on macOS
  • [ ] 3.0.1 on macOS
  • [x] 2.2.1 on Ubuntu 16.04
  • [x] 3.0.1 on Ubuntu 16.04

sinoru avatar Dec 17 '16 06:12 sinoru

Build Re-Testing after 3b061fb

  • [x] 2.3-dev on macOS
  • [x] 3.0.1 on macOS (REPL doesn't work. I thinks this due to lldb codesign)
  • [x] 2.2.1 on Ubuntu 16.04
  • [x] 3.0.1 on Ubuntu 16.04

sinoru avatar Dec 18 '16 05:12 sinoru

All works!

sinoru avatar Dec 19 '16 11:12 sinoru

All CI tests passed!

sinoru avatar Dec 21 '16 11:12 sinoru

Is there a timeframe to merge this? Can I help in anyway? Would be of much help for the plugin I made (asdf-swift) for asdf that depends on it.

fcrespo82 avatar Mar 13 '17 21:03 fcrespo82

Thanks for this @sinoru. I'm sorry I have not got round to looking at this PR yet. Testing this out is going to be a little tricky as I do not have much hardware that is capable of building Swift in a reasonable time. I am wondering how we could automate testing on various platforms.


There is a lot of complexity here and I think it would be great if Swift could provide a single tarball including the source of all versions. I've tried to open a discussion on the Swift evolution list that can be found at https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20161212/029433.html .


Can I help in anyway?

@fcrespo82 Yes, you could help test on as many platforms as you can and report back your experiences.

kylef avatar Mar 29 '17 14:03 kylef

@kylef You're right. It is hard to test it. Even I try on Travis CI, this leads timeout. Uhm... I have some idle linux VPS servers.. that I can offer jenkins to test it maybe? But, Still... building swift on Swift Projects' own CI(jenkins) takes almost 1 hour that is too long to test it frequently.

So until swift has own idea to handle well to build it, maybe we can flag this feature as experimental.

sinoru avatar Mar 29 '17 14:03 sinoru

Rebased on latest #73.

sinoru avatar Mar 29 '17 14:03 sinoru