Skip to content
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

CI: test Pythran 0.11.0 release candidate on Windows Meson build #100

Closed
wants to merge 1 commit into from

Conversation

rgommers
Copy link
Owner

FOR TESTING ONLY

@rgommers
Copy link
Owner Author

Build used Pythran 0.11-dev and tests passed. Only warnings look like:

2021-12-10T19:08:25.1403538Z C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include/numpy/npy_common.h:185:20: warning: 'int _fseeki64(FILE*, long long int, int)' redeclared without dllimport attribute after being referenced with dll linkage
2021-12-10T19:08:25.1404805Z   185 | extern int __cdecl _fseeki64(FILE *, long long, int);
2021-12-10T19:08:25.1405700Z       |                    ^~~~~~~~~
2021-12-10T19:08:25.1406922Z C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include/numpy/npy_common.h:186:26: warning: 'long long int _ftelli64(FILE*)' redeclared without dllimport attribute after being referenced with dll linkage
2021-12-10T19:08:25.1408209Z   186 | extern long long __cdecl _ftelli64(FILE *);
2021-12-10T19:08:25.1408691Z       |                          ^~~~~~~~~

@rgommers
Copy link
Owner Author

So this worked on the Meson build, however in CI on the main repo things are failing with:

  cl : Command line warning D9025 : overriding '/W3' with '/w'
  _rbfinterp_pythran.cpp
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/include/types/ndarray.hpp(481): error C2559: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&std::is_same<bool,F::dtype>::value&&F::value==1&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::ndarray<T,pS>,`anonymous-namespace'::pythonic::types::ndarray<long,`anonymous-namespace'::pythonic::types::pshape<long>>>>::type `anonymous-namespace'::pythonic::types::ndarray<T,pS>::operator [](const F &) const': cannot overload a member function without ref-qualifier with a member function with ref-qualifier
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/include/types/ndarray.hpp(647): note: see reference to class template instantiation '`anonymous-namespace'::pythonic::types::ndarray<T,pS>' being compiled
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/include/types/ndarray.hpp(497): error C2559: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&std::is_same<bool,F::dtype>::value&&F::value!=1&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::ndarray<T,`anonymous-namespace'::pythonic::types::pshape<long>>,`anonymous-namespace'::pythonic::types::ndarray<long,`anonymous-namespace'::pythonic::types::pshape<long>>>>::type `anonymous-namespace'::pythonic::types::ndarray<T,pS>::operator [](const F &) const': cannot overload a member function without ref-qualifier with a member function with ref-qualifier
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/include/types/ndarray.hpp(505): error C2559: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&!`anonymous-namespace'::pythonic::types::is_array_index<F>::value&&!std::is_same<bool,F::dtype>::value&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::ndarray<T,pS>,F>>::type `anonymous-namespace'::pythonic::types::ndarray<T,pS>::operator [](const F &) const': cannot overload a member function without ref-qualifier with a member function with ref-qualifier
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): error C2244: '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast': unable to match function definition to an existing declaration
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(195): note: see declaration of '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: definition
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast(long) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: existing declarations
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&!`anonymous-namespace'::pythonic::types::is_array_index<F>::value&&!std::is_same<bool,F::dtype>::value&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>,F>>::type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast(const F &) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&std::is_same<bool,F::dtype>::value&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>,`anonymous-namespace'::pythonic::types::ndarray<long,`anonymous-namespace'::pythonic::types::pshape<long>>>>::type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast(const F &) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(197): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::fast(long) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(206): error C2244: '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::map_fast': unable to match function definition to an existing declaration
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(203): note: see declaration of '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::map_fast'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(206): note: definition
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(206): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::map_fast(Indices...) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(206): note: existing declarations
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(206): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::map_fast(Indices...) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(215): error C2244: '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::operator []': unable to match function definition to an existing declaration
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(213): note: see declaration of '`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::operator []'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(215): note: definition
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(215): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::operator [](long) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(215): note: existing declarations
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/types/numpy_expr.hpp(215): note: 'unknown-type `anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::operator [](const `anonymous-namespace'::pythonic::types::array_base<long,`anonymous-namespace'::pythonic::types::numpy_expr<O,Args...>::value,`anonymous-namespace'::pythonic::types::tuple_version> &) const'
  C:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran\pythonic/include/types/ndarray.hpp(505): error C2559: 'std::enable_if<`anonymous-namespace'::pythonic::types::is_numexpr_arg<F>::value&&!`anonymous-namespace'::pythonic::types::is_array_index<F>::value&&!std::is_same<bool,F::dtype>::value&&!`anonymous-namespace'::pythonic::types::is_pod_array<F>::value,`anonymous-namespace'::pythonic::types::numpy_vexpr<`anonymous-namespace'::pythonic::types::ndarray<double,`anonymous-namespace'::pythonic::types::array_base<long,1,`anonymous-namespace'::pythonic::types::tuple_version>>,F>>::type `anonymous-namespace'::pythonic::types::ndarray<double,`anonymous-namespace'::pythonic::types::array_base<long,1,`anonymous-namespace'::pythonic::types::tuple_version>>::operator [](const F &) const': cannot overload a member function without ref-qualifier with a member function with ref-qualifier
  error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -IC:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages/pythran -IC:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include -IC:\hostedtoolcache\windows\Python\3.9.9\x64\lib\site-packages\numpy\core\include -Ibuild\src.win-amd64-3.9\numpy\distutils\include -IC:\hostedtoolcache\windows\Python\3.9.9\x64\include -IC:\hostedtoolcache\windows\Python\3.9.9\x64\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt -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.22000.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt /EHsc /Tpscipy/interpolate/_rbfinterp_pythran.cpp /Fobuild\temp.win-amd64-3.9\Release\scipy/interpolate/_rbfinterp_pythran.obj /std:c++14 /w /Zm1000" failed with exit status 2
  Building wheel for scipy (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for scipy

Going to look at that in more detail.

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.

1 participant