-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Create windows packaging #4
Create windows packaging #4
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
nlohmann json is updated now :) |
@conda-forge-admin, please rerender |
0e58f3a
to
76f72de
Compare
Thanks @wolfv it should be fixed now! |
Would be cool to add some tests to check that a dll is created and header files are placed in the right locations on Windows. |
006c2b9
to
da9bdbe
Compare
recipe/build.sh
Outdated
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_SHARED_LIBS=y . -Bbuilddir | ||
cmake . \ | ||
-DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DBUILD_SHARED_LIBS=y \ |
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.
maybe instead of y
also use ON or TRUE?
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 just copy/pasted from linux existing build script but if you prefer I can also change that
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.
yep would be nice!
recipe/meta.yaml
Outdated
- test -f ${PREFIX}/lib/libnlohmann_json_schema_validator.so # [unix] | ||
- test -f ${PREFIX}/lib/libnlohmann_json_schema_validator.dll # [win] |
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.
might also be good to check %PREFIX%\bin\nlohmann_json_schema_validator.bin` (I think).
Also ${PREFIX} isn't gonna work on win
da9bdbe
to
be66927
Compare
can you also activate osx? |
fe17e2b
to
b3c8013
Compare
Note the missing
|
9ada236
to
4fa0175
Compare
update linux and win build scripts add win tests activate osx
4fa0175
to
50673b3
Compare
Checklist
Reset the build number to0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)nlohmann_json
feedstock for broken dependencyDescription
Related to Windows packaging issue where Windows packages are empty.
Proposition
Add a
bld.bat
file to handle Windows packagingDiscussion
@wolfv
nlohmann_json
feedstock is currently broken and need to be fixed before packaging this project (v3.8.0 required and not available on conda-forge).I was not able to build locally and check the recipe due to this other issue.