Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: add MSVC 2015 / Python 3.5 to CI #12529

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

Closed

Conversation

tylerjereddy
Copy link
Contributor

Based on comment suggesting we do this to reproduce the test failures reported in #12520.

Of course, what this currently does is fail other tests for reasons I don't fully understand, instead of reproducing the desired failures.

If past experience is any guide, getting the CI run to work just right for this older compiler set without pre-installed Python 3.5 on the image could be more challenging than fixing the bug itself, but may be worth it to prevent regressions, etc.

Some paths / library paths may still need adjusting given the "manual" install of Python vs. the pre-loaded cases in our newer-compiler matrix for Windows.

@charris
Copy link
Member

charris commented Dec 11, 2018

We have got failures, but they look unrelated to Eric's problem.

@eric-wieser
Copy link
Member

eric-wieser commented Dec 12, 2018

Comparing the azure logs against my local logs when compiling loops.c, the diff I get is as below.

Perhaps the absense of CBLAS is causing trouble, but that seems awfully unlikely. config.h is identical between the azure logs and my local build.

--- yours
+++ mine
 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe
 	/c
 	/nologo
        /Ox
	/W3
	/GL
	/DNDEBUG
	/MD
	-DNPY_INTERNAL_BUILD=1
	-DHAVE_NPY_CONFIG_H=1
	-D_FILE_OFFSET_BITS=64
 	-D_LARGEFILE_SOURCE=1
-	-D_LARGEFILE64_SOURCE=1
-	-DHAVE_CBLAS
+	-D_LARGEFILE64_SOURCE=1
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\umath
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\npymath
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\common
	-Inumpy\core\include
	-Ibuild\src.win-amd64-3.5\numpy\core\include/numpy
	-Inumpy\core\src\common
	-Inumpy\core\src
	-Inumpy\core
	-Inumpy\core\src\npymath
 	-Inumpy\core\src\multiarray
 	-Inumpy\core\src\umath
 	-Inumpy\core\src\npysort
-	-IC:\Python35\include
-	-IC:\Python35\include
+	-IC:\Program Files\Python 3.5\include
+	-IC:\Program Files\Python 3.5\include
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\common
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\npymath
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\common
 	-Ibuild\src.win-amd64-3.5\numpy\core\src\npymath
 	-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.14393.0\ucrt
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt
 	-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt
 	-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.14393.0\ucrt
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt
 	-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um
-	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um
+	-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt
 	/Tcbuild\src.win-amd64-3.5\numpy\core\src\umath\loops.c
 	/Fobuild\temp.win-amd64-3.5\Release\build\src.win-amd64-3.5\numpy\core\src\umath\loops.obj

@tylerjereddy
Copy link
Contributor Author

Adding the compiler tag and closing this -- if we're not going to detect regression on issues for older compilers there's not much point in having an older compiler test build occupy a CI slot.

@tylerjereddy tylerjereddy deleted the detect_nan_win_issues branch December 13, 2018 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants