Skip to content

[docs] Build instructions for OpenBSD. #33934

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

Merged
merged 3 commits into from
Sep 15, 2020

Conversation

3405691582
Copy link
Member

Swift now builds cleanly out of the box as of OpenBSD 6.8-beta.

While there are still more unit test tweaks to be made, document the
preparation and other quirk flags necessary to get a clean build on this
system.

@lin7sh
Copy link

lin7sh commented Sep 14, 2020

This is awesome, Theo should put this on the release notes. One question: does the libdispatch and other core library works as well?

Copy link
Contributor

@benrimmington benrimmington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This how-to guide could be added to the documentation index, alongside the guides for Android and Windows.

Copy link
Member

@finagolfin finagolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to see this coming along.


*Note: you may need to update the version numbers if necessary.*

Also link `~/bin/python` to the `python2.7` binary:
Copy link
Member

@finagolfin finagolfin Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build-script import's six, and six requires use of Python 2.7 (at least, on this platform), since the package is only installed for 2.7.

Copy link
Member

@finagolfin finagolfin Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grunt, sorry to hear that.

@CodaFi
Copy link
Contributor

CodaFi commented Sep 14, 2020

@swift-ci smoke test

3405691582 and others added 2 commits September 14, 2020 13:30
Swift now builds cleanly out of the box as of OpenBSD 6.8-beta.

While there are still more unit test tweaks to be made, document the
preparation and other quirk flags necessary to get a clean build on this
system.
Syntax highlighting and wording fix.

Co-authored-by: Ben Rimmington <[email protected]>
@3405691582
Copy link
Member Author

@mko-io

One question: does the libdispatch and other core library works as well?

As the docs state, you must disable components that depend on dispatch for now.

@3405691582
Copy link
Member Author

Nearly forgot to add this to the main docs/README.md -- done so now.

@CodaFi
Copy link
Contributor

CodaFi commented Sep 14, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Sep 15, 2020

@swift-ci smoke test macOS

@benrimmington
Copy link
Contributor

@swift-ci Please smoke test

@benrimmington
Copy link
Contributor

Sorry, the merge conflict in docs/README.md was due to #33829.

I can squash and merge when the tests pass (assuming no further approval is needed).

@benrimmington benrimmington merged commit a51db09 into swiftlang:master Sep 15, 2020
@lin7sh
Copy link

lin7sh commented Sep 16, 2020

Great to see it gets merged. Any plan to make it work on FreeBSD?

dabrahams pushed a commit to google/swift that referenced this pull request Sep 16, 2020
* 'master' of github.com:apple/swift:
  Fix grammatical errors (swiftlang#33940)
  [docs] Build instructions for OpenBSD. (swiftlang#33934)
  [benchmark] Add benchmark for generic floating-point to integer conversion (swiftlang#33895)
  [stdlib] Silence signaling NaN in generic conversions (swiftlang#33902)
  Introduce SymbolObjectCodeRequest
  Allow SILGen to emit only a specific set of SILDeclRefs
  Rename getFiles to getFilesToEmit
  [SILGen] Allow lazy type-checking
  [Profiler] Increment function body count prior to the prolog
  s/true/false/
  [build-script] Disable pkg-config for Darwin hosts
  build: migrate towards the unified directory layout for modules
  WinSDK: extract Internationalization submodule
  Frontend: allow directory layout for Swift on non-Darwin platforms
  [test] Fix line-directive on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants