-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Introduce and use SWIFT_HAVE_LIBEDIT #6459
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
Conversation
Does the repl work without it? |
@swift-ci please test |
The repl is automatically disabled for platforms without histedit.h |
Build failed |
CC @jrose-apple (in case you have a strong opinion on this, I think this is reasonable). |
@mxswd just did something like this…or maybe it was limited to xpc.h. Max? |
Yeah I just added 81ae0fd |
Oh, this may have been superseeded! I extracted this from the main PR - will let you know if this still doesn't work.. Will close if not |
Build failed |
Actually!! I remember now - this is still necessary. This is because we add @compnerd could you retrigger the tests - I fixed a typo causing the builds to fail |
Still seems like we should be able to use the same variable in both cases. |
True, good idea. I've moved the variable to |
@swift-ci Please smoke test |
This is an optional dependency (i.e. we can build the compiler without it).
I went for the
CheckIncludeFiles
CMake option, as this is simpler than having to adding a find_package implementation.Extracted from #5904