-
Notifications
You must be signed in to change notification settings - Fork 211
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
add sqlitecpp 3.2.1-1 #816
Conversation
wrap-git is disallowed here. |
thanks for the notice, |
Please also take a look at the macOS compile failure. |
sure!, I will open an issue on SQLiteCpp in order to check it out edit: it seems to be related to the support of sqlite3 load extensions disabled in macOS
|
# for a list of MSVC supported arguments please check: | ||
# https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=msvc-170 | ||
if not (host_machine.system() == 'windows' and cxx.get_id() == 'msvc') | ||
sqlitecpp_args += [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could simplify with cc.get_supported_arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flip side is that hardcoding it based on get_id() is faster because you don't need to run the compiler each time to check which ones are supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, it will be a faster option if the parameters are known in advance, as there are few arguments you can simply use this option, if in the future there were more arguments, perhaps it would be a better option to check if MSVC is used, looking on the bright side we can remove additional verification that is used only for MSVC.
Honestly I don´t know much about the meson implementation and if those values are cached for an specific compiler/setup as it could reduce setup times if they are checked across projects, but I think that is more dependent on implementation than project configuration, maybe a linter should be helpful for this cases(and for new users), as for the moment I think I will set cxx.get_supported_arguments
as the meson.build in the project is not a 1-1 copy to the CMakeLists.txt anyways
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would only be cached within a project build so that checking the same option again already knows if it's supported.
(But that should work across subprojects.)
That's very much a blocking issue... |
I thought there was an upstream meson.build file, though? |
These commits should all be squashed together using |
yes, however 3.2.1 was already launched today with a fix for
sure, will make the fixes and then squash them |
as for the tests on MacOS I did them on a borrowed machine with the following specs:
please let me know if I left another fix missing |
seems to be failing due to:
is there any issue if I change it to a message()? |
checked the last error, seems to be an edge case related to SRombauts/SQLiteCpp#394 basically on MacOS 11 in GitHub images |
seems that we cannot add those patches(as the CI does not let modify existing project files) on this wrap so maybe this should wait until 3.2.2, removing the need for the patch directory and preserving the fixes on this PR, at the moment will keep it closed and open a new one referencing this one once it is ready, as for the MacOS fixes I opened an issue on the repo in order to fix it(good to know that under the CI the compilation step passed) |
adds SQLiteCpp version 3.2.0 to the list of wraps
clang++ 15.0.5
(static compilation only)ninja 1.11.1
meson 0.64.1
gcc 12.2.0
ninja 1.11.0
meson 0.64.1
If there is anything else required just let me know