Skip to content

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Oct 24, 2023

Trying to build spatial on latest main made me hit a CMake error branch, but upon investigating it seems like it should be supported for Apple+clang, its just that we don't detect the "AppleClang" compiler ID. Not sure what the intended behavior is here but it seems to work with the change in this PR.

This PR also adds defines for DUCKDB_MAJOR/MINOR/PATCH_VERSION which is useful for e.g. extensions (spatial) that tries to build for both the latest stable and keep up to date with development versions of DuckDB. Even though we already have a DUCKDB_VERSION define, it is defined as a c-string which we can't easily compare in the preprocessor.

CC @samansmink

@github-actions github-actions bot marked this pull request as draft October 24, 2023 16:14
@Maxxen Maxxen marked this pull request as ready for review October 24, 2023 19:37
@Mytherin Mytherin merged commit 10f9bd9 into duckdb:main Oct 25, 2023
@Mytherin
Copy link
Collaborator

Thanks!

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.

3 participants