conda-forge / osqp-feedstock

A conda-smithy repository for osqp.
BSD 3-Clause "New" or "Revised" License
0 stars 13 forks source link

osqp v0.6.0 #11

Closed regro-cf-autotick-bot closed 5 years ago

regro-cf-autotick-bot commented 5 years ago

It is very likely that the current package version for this feedstock is out of date. Notes for merging this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version. Checklist before merging this PR:
    • [ ] Dependencies have been updated if changed
    • [ ] Tests have passed
    • [ ] Updated license if changed and license_file is packaged

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one.

This PR was created by the cf-regro-autotick-bot. The cf-regro-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable. Finally, feel free to drop us a line if there are any issues!

conda-forge-linter commented 5 years ago

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 (recipe) and found it was in an excellent condition.

h-vetinari commented 5 years ago

@conda-forge/help-python-c A few days ago @xhochy swiftly solved my problem in #10; now a new version has been released and I'm running into a different problem where I'm a bit stuck. Sorry for the quick succession of pings, but maybe someone already knows the fix before I sink hours into this...

The compilation runs through fine, but then the linker seems to look for a debug-version of python, and doesn't find it:

  [...] 
  [100%] Built target osqpstatic
  building 'osqp._osqp' extension
  creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  creating build\temp.win-amd64-3.6\Release\extension
  creating build\temp.win-amd64-3.6\Release\extension\src
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPYTHON -Iosqp_sources\include -Iosqp_sources\lin_sys\direct\qdldl -Iosqp_sources\lin_sys\direct\qdldl\qdldl_sources\include -Iextension\include -ID:\bld\osqp_1567362262193\_h_env\lib\site-packages\numpy\core\include -ID:\bld\osqp_1567362262193\_h_env\include -ID:\bld\osqp_1567362262193\_h_env\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -ID:\bld\osqp_1567362262193\_h_env\Library\include -ID:\bld\osqp_1567362262193\_h_env\Library\include /Tcextension\src\osqpmodule.c /Fobuild\temp.win-amd64-3.6\Release\extension\src\osqpmodule.obj
  osqpmodule.c
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\bld\osqp_1567362262193\_h_env\libs /LIBPATH:D:\bld\osqp_1567362262193\_h_env\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /LIBPATH:D:\bld\osqp_1567362262193\_h_env\Library\lib /LIBPATH:D:\bld\osqp_1567362262193\_h_env\Library\lib legacy_stdio_definitions.lib /EXPORT:PyInit__osqp build\temp.win-amd64-3.6\Release\extension\src\osqpmodule.obj extension\src\osqp.lib /OUT:build\lib.win-amd64-3.6\osqp\_osqp.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\extension\src\_osqp.cp36-win_amd64.lib
  LINK : fatal error LNK1104: cannot open file 'python36_d.lib'
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\link.exe' failed with exit status 1104
  ----------------------------------------
  ERROR: Failed building wheel for osqp
  [...]
h-vetinari commented 5 years ago

@conda-forge/help-python-c Hey, could anyone tell me why MVSC is trying to link to a python-debug build (or: why this would fail only on windows)?