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

[SR-10494] FreeBSD Compile error #52894

Open
swift-ci opened this issue Apr 16, 2019 · 6 comments
Open

[SR-10494] FreeBSD Compile error #52894

swift-ci opened this issue Apr 16, 2019 · 6 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. cmake compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-10494
Radar None
Original Reporter Inuk (JIRA User)
Type Bug

Attachment: Download

Environment

FreeBSD

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CMake
Assignee None
Priority Medium

md5: d0f7dafc62d440b9cad3ddc8573defb9

Issue Description:

I've git cloned all the repos from the WindowsBuild.md and ran the

@belkadan
Copy link
Contributor

@compnerd, does this look familiar? It kinda seems like someone thought CMake NOT was smarter than it actually is.

@spevans
Copy link
Collaborator

spevans commented May 11, 2019

Shouldnt it be

if(NOT CMAKE_HOST_SYSTEM_NAME  STREQUAL FreeBSD)

instead of

if(CMAKE_HOST_SYSTEM_NAME NOT STREQUAL FreeBSD)

@belkadan
Copy link
Contributor

Yeah, I think so. If none of us contributors have access to a FreeBSD system, we could just speculatively change it from the obviously wrong thing.

@swift-ci
Copy link
Collaborator Author

Comment by Bastian Inuk Christensen (JIRA)

@belkadan where can I find which line it is? then I could maybe test this out?

@spevans
Copy link
Collaborator

spevans commented May 13, 2019

From the error message:

CMake Error at cmake/modules/SwiftConfigureSDK.cmake:219  

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@mhjacobson
Copy link
Collaborator

Fixed in #61661.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. cmake compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

4 participants