conda-forge / graphblas-feedstock

A conda-smithy repository for graphblas.
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Does not compile using vs2019 #47

Closed eriknw closed 2 years ago

eriknw commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

GraphBLAS is able to build with vs2017, but not with vs2019. We encountered this recently here: https://github.com/conda-forge/graphblas-feedstock/pull/45

Context: vs2017 if EOLed and is being moved away from: https://github.com/conda-forge/conda-forge.github.io/issues/1732

CC @conda-forge/core

This appears to be an internal error of VS Code of some kind. Here's a snippet from the logs:

[ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__first_fc32.c.obj
GB_binop__first_fc32.c
%SRC_DIR%\Source\Template\GB_sparse_add_template.c(398) : fatal error C1001: Internal compiler error.
(compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 213)
 To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com/ 
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information

NMAKE : fatal error U1077: 'D:\bld\graphblas_1665939000715\_build_env\Library\bin\cmake.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.

https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=589203&view=logs&j=8af117b0-dfa5-5d1c-b02e-a448dd16efdb&t=5255ce7d-8850-5a89-87a7-dc472af37343&l=3926

Log of failure ``` 2022-10-16T16:49:57.4957340Z ##[section]Starting: Build recipe 2022-10-16T16:49:57.5070925Z ============================================================================== 2022-10-16T16:49:57.5071448Z Task : Command line 2022-10-16T16:49:57.5071789Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows 2022-10-16T16:49:57.5072149Z Version : 2.201.1 2022-10-16T16:49:57.5072385Z Author : Microsoft Corporation 2022-10-16T16:49:57.5072757Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line 2022-10-16T16:49:57.5073127Z ============================================================================== 2022-10-16T16:49:58.8862008Z Generating script. 2022-10-16T16:49:58.8862982Z ========================== Starting Command Output =========================== 2022-10-16T16:49:58.8863912Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\f1b1a3ac-ec6d-4f5c-8a9c-656303d11943.cmd"" 2022-10-16T16:49:58.9845222Z 1 file(s) copied. 2022-10-16T16:50:00.6183494Z Updating build index: D:\bld 2022-10-16T16:50:00.6184479Z 2022-10-16T16:50:00.6638599Z No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.16 2022-10-16T16:50:00.6640135Z WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.16 2022-10-16T16:50:00.7368729Z INFO:conda_build.variants:Adding in variants from internal_defaults 2022-10-16T16:50:00.7369762Z Adding in variants from internal_defaults 2022-10-16T16:50:00.7370815Z INFO:conda_build.variants:Adding in variants from D:\a\1\s\.ci_support\win_64_.yaml 2022-10-16T16:50:00.7371460Z Adding in variants from D:\a\1\s\.ci_support\win_64_.yaml 2022-10-16T16:50:00.8532419Z INFO:conda_build.metadata:Attempting to finalize metadata for graphblas 2022-10-16T16:50:00.8533690Z Attempting to finalize metadata for graphblas 2022-10-16T16:50:00.9341862Z conda-forge/win-64 Using cache 2022-10-16T16:50:00.9352909Z conda-forge/noarch Using cache 2022-10-16T16:50:19.9619831Z Reloading output folder: D:\bld 2022-10-16T16:52:04.4740668Z Reloading output folder: D:\bld 2022-10-16T16:52:05.5039350Z Reloading output folder: D:\bld 2022-10-16T16:52:05.6436776Z BUILD START: ['graphblas-7.3.0-h63175ca_0.tar.bz2'] 2022-10-16T16:52:05.6495258Z Reloading output folder: D:\bld 2022-10-16T16:52:05.9750361Z 2022-10-16T16:52:05.9751826Z ## Package Plan ## 2022-10-16T16:52:05.9752350Z 2022-10-16T16:52:05.9753073Z environment location: D:\bld\graphblas_1665939000715\_h_env 2022-10-16T16:52:05.9753623Z 2022-10-16T16:52:05.9753957Z 2022-10-16T16:52:05.9754640Z The following NEW packages will be INSTALLED: 2022-10-16T16:52:05.9755062Z 2022-10-16T16:52:05.9755660Z llvm-openmp: 14.0.4-h2d74725_0 conda-forge 2022-10-16T16:52:05.9756377Z ucrt: 10.0.20348.0-h57928b3_0 conda-forge 2022-10-16T16:52:05.9756983Z vc: 14.2-hac3ee0b_8 conda-forge 2022-10-16T16:52:05.9757624Z vs2015_runtime: 14.29.30139-h890b9b1_8 conda-forge 2022-10-16T16:52:05.9758035Z 2022-10-16T16:52:06.0254860Z Preparing transaction: ...working... done 2022-10-16T16:52:06.6934254Z Verifying transaction: ...working... done 2022-10-16T16:52:07.1314941Z Executing transaction: ...working... done 2022-10-16T16:52:07.1457529Z Reloading output folder: D:\bld 2022-10-16T16:52:07.2806923Z Reloading output folder: D:\bld 2022-10-16T16:52:07.6047460Z 2022-10-16T16:52:07.6048967Z ## Package Plan ## 2022-10-16T16:52:07.6049533Z 2022-10-16T16:52:07.6050165Z environment location: D:\bld\graphblas_1665939000715\_build_env 2022-10-16T16:52:07.6050740Z 2022-10-16T16:52:07.6051141Z 2022-10-16T16:52:07.6051685Z The following NEW packages will be INSTALLED: 2022-10-16T16:52:07.6052138Z 2022-10-16T16:52:07.6052680Z cmake: 3.24.2-h1537add_0 conda-forge 2022-10-16T16:52:07.6053388Z m2w64-gcc-libgfortran: 5.3.0-6 conda-forge 2022-10-16T16:52:07.6056027Z m2w64-gcc-libs: 5.3.0-7 conda-forge 2022-10-16T16:52:07.6056654Z m2w64-gcc-libs-core: 5.3.0-7 conda-forge 2022-10-16T16:52:07.6057307Z m2w64-gmp: 6.1.0-2 conda-forge 2022-10-16T16:52:07.6057913Z m2w64-libwinpthread-git: 5.0.0.4634.697f757-2 conda-forge 2022-10-16T16:52:07.6058841Z make: 4.3-h3d2af85_1 conda-forge 2022-10-16T16:52:07.6059479Z msys2-conda-epoch: 20160418-1 conda-forge 2022-10-16T16:52:07.6060087Z ucrt: 10.0.20348.0-h57928b3_0 conda-forge 2022-10-16T16:52:07.6060755Z vs2015_runtime: 14.29.30139-h890b9b1_8 conda-forge 2022-10-16T16:52:07.6061588Z vs2019_win-64: 19.29.30139-hb9aee9d_8 conda-forge 2022-10-16T16:52:07.6062196Z vswhere: 3.0.3-h57928b3_0 conda-forge 2022-10-16T16:52:07.6062655Z 2022-10-16T16:52:08.4687841Z Preparing transaction: ...working... done 2022-10-16T16:52:08.5277683Z Verifying transaction: ...working... done 2022-10-16T16:52:21.6632914Z Executing transaction: ...working... done 2022-10-16T16:52:21.6800248Z INFO:conda_build.source:Source cache directory is: D:\bld\src_cache 2022-10-16T16:52:21.6801071Z Source cache directory is: D:\bld\src_cache 2022-10-16T16:52:21.6804753Z INFO:conda_build.source:Downloading source to cache: v7.3.0_2cfbb2aef5.tar.gz 2022-10-16T16:52:21.6805426Z Downloading source to cache: v7.3.0_2cfbb2aef5.tar.gz 2022-10-16T16:52:21.6806338Z INFO:conda_build.source:Downloading https://github.com/DrTimothyAldenDavis/GraphBLAS/archive/v7.3.0.tar.gz 2022-10-16T16:52:21.6806909Z Downloading https://github.com/DrTimothyAldenDavis/GraphBLAS/archive/v7.3.0.tar.gz 2022-10-16T16:52:24.7569136Z INFO:conda_build.source:Success 2022-10-16T16:52:24.7570251Z Success 2022-10-16T16:52:24.8083847Z Extracting download 2022-10-16T16:52:37.1938894Z source tree in: D:\bld\graphblas_1665939000715\work 2022-10-16T16:52:37.2197654Z Rewriting env in output: {'BUILD_PREFIX': 'D:\\bld\\graphblas_1665939000715\\_build_env', 2022-10-16T16:52:37.2198887Z 'PREFIX': 'D:\\bld\\graphblas_1665939000715\\_h_env', 2022-10-16T16:52:37.2199684Z 'SRC_DIR': 'D:\\bld\\graphblas_1665939000715\\work'} 2022-10-16T16:52:37.2444440Z 2022-10-16T16:52:37.2448481Z (base) %SRC_DIR%>IF "" == "" (call %SRC_DIR%\build_env_setup.bat ) 2022-10-16T16:52:37.2454442Z 2022-10-16T16:52:37.2458183Z (base) %SRC_DIR%>set "CONDA_BUILD=1" 2022-10-16T16:52:37.2462228Z 2022-10-16T16:52:37.2464485Z (base) %SRC_DIR%>set "PYTHONNOUSERSITE=1" 2022-10-16T16:52:37.2465258Z 2022-10-16T16:52:37.2470775Z (base) %SRC_DIR%>set "CONDA_DEFAULT_ENV=%PREFIX%" 2022-10-16T16:52:37.2474892Z 2022-10-16T16:52:37.2477330Z (base) %SRC_DIR%>set "ARCH=64" 2022-10-16T16:52:37.2484755Z 2022-10-16T16:52:37.2489163Z (base) %SRC_DIR%>set "PREFIX=%PREFIX%" 2022-10-16T16:52:37.2491514Z 2022-10-16T16:52:37.2495657Z (base) %SRC_DIR%>set "BUILD_PREFIX=%BUILD_PREFIX%" 2022-10-16T16:52:37.2499654Z 2022-10-16T16:52:37.2507647Z (base) %SRC_DIR%>set "SYS_PREFIX=C:\Miniforge" 2022-10-16T16:52:37.2515143Z 2022-10-16T16:52:37.2519833Z (base) %SRC_DIR%>set "SYS_PYTHON=C:\Miniforge\python.exe" 2022-10-16T16:52:37.2523933Z 2022-10-16T16:52:37.2526187Z (base) %SRC_DIR%>set "SUBDIR=win-64" 2022-10-16T16:52:37.2533086Z 2022-10-16T16:52:37.2535104Z (base) %SRC_DIR%>set "build_platform=win-64" 2022-10-16T16:52:37.2538847Z 2022-10-16T16:52:37.2539877Z (base) %SRC_DIR%>set "SRC_DIR=%SRC_DIR%" 2022-10-16T16:52:37.2543776Z 2022-10-16T16:52:37.2544535Z (base) %SRC_DIR%>set "ROOT=C:\Miniforge" 2022-10-16T16:52:37.2544890Z 2022-10-16T16:52:37.2545702Z (base) %SRC_DIR%>set "CONDA_PY=39" 2022-10-16T16:52:37.2547174Z 2022-10-16T16:52:37.2547904Z (base) %SRC_DIR%>set "PY3K=1" 2022-10-16T16:52:37.2548357Z 2022-10-16T16:52:37.2548866Z (base) %SRC_DIR%>set "PY_VER=3.9" 2022-10-16T16:52:37.2550230Z 2022-10-16T16:52:37.2651290Z (base) %SRC_DIR%>set "STDLIB_DIR=%PREFIX%\Lib" 2022-10-16T16:52:37.2655758Z 2022-10-16T16:52:37.2658037Z (base) %SRC_DIR%>set "SP_DIR=%PREFIX%\Lib\site-packages" 2022-10-16T16:52:37.2659515Z 2022-10-16T16:52:37.2660216Z (base) %SRC_DIR%>set "NPY_VER=1.16" 2022-10-16T16:52:37.2660580Z 2022-10-16T16:52:37.2661235Z (base) %SRC_DIR%>set "CONDA_NPY=1.16" 2022-10-16T16:52:37.2661607Z 2022-10-16T16:52:37.2771149Z (base) %SRC_DIR%>set "NPY_DISTUTILS_APPEND_FLAGS=1" 2022-10-16T16:52:37.2771493Z 2022-10-16T16:52:37.2771969Z (base) %SRC_DIR%>set "PERL_VER=5.26" 2022-10-16T16:52:37.2772573Z 2022-10-16T16:52:37.2864839Z (base) %SRC_DIR%>set "CONDA_PERL=5.26.2" 2022-10-16T16:52:37.2865292Z 2022-10-16T16:52:37.2866120Z (base) %SRC_DIR%>set "LUA_VER=5" 2022-10-16T16:52:37.2869558Z 2022-10-16T16:52:37.2915606Z (base) %SRC_DIR%>set "CONDA_LUA=5" 2022-10-16T16:52:37.2916230Z 2022-10-16T16:52:37.2916951Z (base) %SRC_DIR%>set "R_VER=3.4" 2022-10-16T16:52:37.2917379Z 2022-10-16T16:52:37.2918184Z (base) %SRC_DIR%>set "CONDA_R=3.4" 2022-10-16T16:52:37.2918503Z 2022-10-16T16:52:37.2968240Z (base) %SRC_DIR%>set "PKG_NAME=graphblas" 2022-10-16T16:52:37.3205897Z 2022-10-16T16:52:37.3235062Z (base) %SRC_DIR%>set "PKG_VERSION=7.3.0" 2022-10-16T16:52:37.3324711Z 2022-10-16T16:52:37.3326541Z (base) %SRC_DIR%>set "PKG_BUILDNUM=0" 2022-10-16T16:52:37.3327189Z 2022-10-16T16:52:37.3327794Z (base) %SRC_DIR%>set "PKG_BUILD_STRING=placeholder" 2022-10-16T16:52:37.3374911Z 2022-10-16T16:52:37.3375691Z (base) %SRC_DIR%>set "PKG_HASH=1234567" 2022-10-16T16:52:37.3412323Z 2022-10-16T16:52:37.3492089Z (base) %SRC_DIR%>set "RECIPE_DIR=D:\a\1\s\recipe" 2022-10-16T16:52:37.3496514Z 2022-10-16T16:52:37.3512325Z (base) %SRC_DIR%>set "CPU_COUNT=2" 2022-10-16T16:52:37.3513187Z 2022-10-16T16:52:37.3513822Z (base) %SRC_DIR%>set "SHLIB_EXT=.dll" 2022-10-16T16:52:37.3514636Z 2022-10-16T16:52:37.3519675Z (base) %SRC_DIR%>set "PATH=%BUILD_PREFIX%;%BUILD_PREFIX%\Library\mingw-w64\bin;%BUILD_PREFIX%\Library\usr\bin;;%BUILD_PREFIX%\Library\bin;%BUILD_PREFIX%\Scripts;%BUILD_PREFIX%\Scripts;%PREFIX%;%PREFIX%\Library\mingw-w64\bin;%PREFIX%\Library\usr\bin;;%PREFIX%\Library\bin;%PREFIX%\Scripts;%PREFIX%\Scripts;C:\Miniforge;C:\Miniforge\Library\mingw-w64\bin;C:\Miniforge\Library\usr\bin;C:\Miniforge\Library\bin;C:\Miniforge\Scripts;C:\Miniforge\bin;C:\Miniforge\condabin;C:\Miniforge\Scripts;C:\agents\2.210.1\externals\git\cmd;C:\agents\2.210.1\externals\git\mingw64\bin;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\h\windows\stack\2.9.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\tools\ghc-9.4.2\bin;C:\Program Files\dotnet;C:\mysql\bin;C:\Program Files\R\R-4.2.1\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\h\windows\go\1.17.13\x64\bin;C:\h\windows\Python\3.7.9\x64\Scripts;C:\h\windows\Python\3.7.9\x64;C:\h\windows\Ruby\2.5.9\x64\bin;C:\tools\kotlinc\bin;C:\h\windows\Java_Temurin-Hotspot_jdk\8.0.345-1\x64\bin;C:\Program Files\ImageMagick-7.1.0-Q16-HDRI;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\TortoiseSVN\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.6\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\GitHub CLI;C:\SeleniumWebDrivers\ChromeDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files (x86)\Microsoft BizTalk Server;C:\Program Files\LLVM\bin;C:\Users\VssAdministrator\.dotnet\tools;C:\Users\VssAdministrator\.cargo\bin;C:\Users\VssAdministrator\AppData\Local\Microsoft\WindowsApps" 2022-10-16T16:52:37.3525014Z 2022-10-16T16:52:37.3525597Z (base) %SRC_DIR%>set "SCRIPTS=%PREFIX%\Scripts" 2022-10-16T16:52:37.3526020Z 2022-10-16T16:52:37.3526588Z (base) %SRC_DIR%>set "LIBRARY_PREFIX=%PREFIX%\Library" 2022-10-16T16:52:37.3527010Z 2022-10-16T16:52:37.3527571Z (base) %SRC_DIR%>set "LIBRARY_BIN=%PREFIX%\Library\bin" 2022-10-16T16:52:37.3527986Z 2022-10-16T16:52:37.3528546Z (base) %SRC_DIR%>set "LIBRARY_INC=%PREFIX%\Library\include" 2022-10-16T16:52:37.3528975Z 2022-10-16T16:52:37.3529555Z (base) %SRC_DIR%>set "LIBRARY_LIB=%PREFIX%\Library\lib" 2022-10-16T16:52:37.3529973Z 2022-10-16T16:52:37.3530620Z (base) %SRC_DIR%>set "CYGWIN_PREFIX=/cygdrive/d/bld/graphblas_1665939000715/_h_env" 2022-10-16T16:52:37.3531110Z 2022-10-16T16:52:37.3531702Z (base) %SRC_DIR%>set "ALLUSERSPROFILE=C:\ProgramData" 2022-10-16T16:52:37.3532115Z 2022-10-16T16:52:37.3532762Z (base) %SRC_DIR%>set "APPDATA=C:\Users\VssAdministrator\AppData\Roaming" 2022-10-16T16:52:37.3533220Z 2022-10-16T16:52:37.3534199Z (base) %SRC_DIR%>set "CommonProgramFiles=C:\Program Files\Common Files" 2022-10-16T16:52:37.3534637Z 2022-10-16T16:52:37.3535253Z (base) %SRC_DIR%>set "CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files" 2022-10-16T16:52:37.3535774Z 2022-10-16T16:52:37.3536385Z (base) %SRC_DIR%>set "CommonProgramW6432=C:\Program Files\Common Files" 2022-10-16T16:52:37.3536823Z 2022-10-16T16:52:37.3537399Z (base) %SRC_DIR%>set "COMPUTERNAME=fv-az106-497" 2022-10-16T16:52:37.3537808Z 2022-10-16T16:52:37.3538406Z (base) %SRC_DIR%>set "ComSpec=C:\Windows\system32\cmd.exe" 2022-10-16T16:52:37.3538824Z 2022-10-16T16:52:37.3539334Z (base) %SRC_DIR%>set "HOMEDRIVE=C:" 2022-10-16T16:52:37.3539750Z 2022-10-16T16:52:37.3540288Z (base) %SRC_DIR%>set "HOMEPATH=\Users\VssAdministrator" 2022-10-16T16:52:37.3540758Z 2022-10-16T16:52:37.3541325Z (base) %SRC_DIR%>set "LOCALAPPDATA=C:\Users\VssAdministrator\AppData\Local" 2022-10-16T16:52:37.3541803Z 2022-10-16T16:52:37.3542331Z (base) %SRC_DIR%>set "LOGONSERVER=\\fv-az106-497" 2022-10-16T16:52:37.3542789Z 2022-10-16T16:52:37.3543311Z (base) %SRC_DIR%>set "NUMBER_OF_PROCESSORS=2" 2022-10-16T16:52:37.3543745Z 2022-10-16T16:52:37.3544334Z (base) %SRC_DIR%>set "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL" 2022-10-16T16:52:37.3544836Z 2022-10-16T16:52:37.3545363Z (base) %SRC_DIR%>set "ProgramData=C:\ProgramData" 2022-10-16T16:52:37.3545789Z 2022-10-16T16:52:37.3546317Z (base) %SRC_DIR%>set "ProgramFiles=C:\Program Files" 2022-10-16T16:52:37.3546770Z 2022-10-16T16:52:37.3547338Z (base) %SRC_DIR%>set "ProgramFiles(x86)=C:\Program Files (x86)" 2022-10-16T16:52:37.3547759Z 2022-10-16T16:52:37.3548340Z (base) %SRC_DIR%>set "ProgramW6432=C:\Program Files" 2022-10-16T16:52:37.3548742Z 2022-10-16T16:52:37.3549296Z (base) %SRC_DIR%>set "PROMPT=(base) $P$G" 2022-10-16T16:52:37.3549739Z 2022-10-16T16:52:37.3550884Z (base) %SRC_DIR%>set "PSModulePath=C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules;C:\\Modules\azurerm_2.1.0;C:\\Modules\azure_2.1.0;C:\Users\packer\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Microsoft SQL Server\130\Tools\PowerShell\Modules\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell" 2022-10-16T16:52:37.3552010Z 2022-10-16T16:52:37.3552536Z (base) %SRC_DIR%>set "PUBLIC=C:\Users\Public" 2022-10-16T16:52:37.3552977Z 2022-10-16T16:52:37.3553487Z (base) %SRC_DIR%>set "SystemDrive=C:" 2022-10-16T16:52:37.3553919Z 2022-10-16T16:52:37.3554440Z (base) %SRC_DIR%>set "SystemRoot=C:\Windows" 2022-10-16T16:52:37.3554878Z 2022-10-16T16:52:37.3555424Z (base) %SRC_DIR%>set "TEMP=C:\Users\VSSADM~1\AppData\Local\Temp" 2022-10-16T16:52:37.3555894Z 2022-10-16T16:52:37.3556441Z (base) %SRC_DIR%>set "TMP=C:\Users\VSSADM~1\AppData\Local\Temp" 2022-10-16T16:52:37.3556901Z 2022-10-16T16:52:37.3557520Z (base) %SRC_DIR%>set "USERDOMAIN=fv-az106-497" 2022-10-16T16:52:37.3557954Z 2022-10-16T16:52:37.3558480Z (base) %SRC_DIR%>set "USERNAME=VssAdministrator" 2022-10-16T16:52:37.3558952Z 2022-10-16T16:52:37.3559504Z (base) %SRC_DIR%>set "USERPROFILE=C:\Users\VssAdministrator" 2022-10-16T16:52:37.3559964Z 2022-10-16T16:52:37.3560476Z (base) %SRC_DIR%>set "windir=C:\Windows" 2022-10-16T16:52:37.3560865Z 2022-10-16T16:52:37.3561442Z (base) %SRC_DIR%>set "PROCESSOR_ARCHITECTURE=AMD64" 2022-10-16T16:52:37.3561847Z 2022-10-16T16:52:37.3562499Z (base) %SRC_DIR%>set "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 106 Stepping 6, GenuineIntel" 2022-10-16T16:52:37.3562976Z 2022-10-16T16:52:37.3563600Z (base) %SRC_DIR%>set "BUILD=amd64-pc-windows-19.0.0" 2022-10-16T16:52:37.3564030Z 2022-10-16T16:52:37.3564733Z (base) %SRC_DIR%>set "VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\" 2022-10-16T16:52:37.3565219Z 2022-10-16T16:52:37.3566001Z (base) %SRC_DIR%>set "pin_run_as_build=OrderedDict([('python', OrderedDict([('min_pin', 'x.x'), ('max_pin', 'x.x')])), ('r-base', OrderedDict([('min_pin', 'x.x'), ('max_pin', 'x.x')]))])" 2022-10-16T16:52:37.3566619Z 2022-10-16T16:52:37.3567226Z (base) %SRC_DIR%>set "ignore_build_only_deps={'python', 'numpy'}" 2022-10-16T16:52:37.3567651Z 2022-10-16T16:52:37.3568311Z (base) %SRC_DIR%>set "extend_keys={'pin_run_as_build', 'ignore_build_only_deps', 'extend_keys', 'ignore_version'}" 2022-10-16T16:52:37.3568806Z 2022-10-16T16:52:37.3569375Z (base) %SRC_DIR%>set "fortran_compiler=gfortran" 2022-10-16T16:52:37.3569769Z 2022-10-16T16:52:37.3570333Z (base) %SRC_DIR%>set "target_platform=win-64" 2022-10-16T16:52:37.3570727Z 2022-10-16T16:52:37.3571283Z (base) %SRC_DIR%>set "c_compiler=vs2019" 2022-10-16T16:52:37.3571672Z 2022-10-16T16:52:37.3572264Z (base) %SRC_DIR%>set "cran_mirror=https://cran.r-project.org" 2022-10-16T16:52:37.3572682Z 2022-10-16T16:52:37.3573232Z (base) %SRC_DIR%>set "r_base=3.4" 2022-10-16T16:52:37.3573618Z 2022-10-16T16:52:37.3574160Z (base) %SRC_DIR%>set "CI=azure" 2022-10-16T16:52:37.3574536Z 2022-10-16T16:52:37.3575074Z (base) %SRC_DIR%>set "channel_targets=conda-forge main" 2022-10-16T16:52:37.3575529Z 2022-10-16T16:52:37.3576053Z (base) %SRC_DIR%>set "channel_sources=conda-forge" 2022-10-16T16:52:37.3576505Z 2022-10-16T16:52:37.3577090Z (base) %SRC_DIR%>set "cpu_optimization_target=nocona" 2022-10-16T16:52:37.3577540Z 2022-10-16T16:52:37.3578054Z (base) %SRC_DIR%>set "cxx_compiler=vs2019" 2022-10-16T16:52:37.3578493Z 2022-10-16T16:52:37.3578986Z (base) %SRC_DIR%>set "vc=14" 2022-10-16T16:52:37.3579400Z 2022-10-16T16:52:37.3579935Z (base) %SRC_DIR%>set "CONDA_BUILD_STATE=BUILD" 2022-10-16T16:52:37.3580378Z 2022-10-16T16:52:37.3580913Z (base) %SRC_DIR%>set "PIP_NO_BUILD_ISOLATION=False" 2022-10-16T16:52:37.3581362Z 2022-10-16T16:52:37.3581883Z (base) %SRC_DIR%>set "PIP_NO_DEPENDENCIES=True" 2022-10-16T16:52:37.3582311Z 2022-10-16T16:52:37.3582841Z (base) %SRC_DIR%>set "PIP_IGNORE_INSTALLED=True" 2022-10-16T16:52:37.3583268Z 2022-10-16T16:52:37.3583838Z (base) %SRC_DIR%>set "PIP_CACHE_DIR=D:\bld\graphblas_1665939000715\pip_cache" 2022-10-16T16:52:37.3584892Z 2022-10-16T16:52:37.3585473Z (base) %SRC_DIR%>set "PIP_NO_INDEX=True" 2022-10-16T16:52:37.3585859Z 2022-10-16T16:52:37.3586431Z (base) %SRC_DIR%>set "INCLUDE=%PREFIX%\Library\include;" 2022-10-16T16:52:37.3586908Z 2022-10-16T16:52:37.3587484Z (base) %SRC_DIR%>set "LIB=%PREFIX%\Library\lib;" 2022-10-16T16:52:37.3587930Z 2022-10-16T16:52:37.3588529Z (base) %SRC_DIR%>call "C:\Miniforge\Scripts\..\condabin\conda_hook.bat" 2022-10-16T16:52:37.3588958Z 2022-10-16T16:52:37.3589575Z (base) %SRC_DIR%>call "C:\Miniforge\Scripts\..\condabin\conda.bat" activate "%PREFIX%" 2022-10-16T16:52:37.9558492Z 2022-10-16T16:52:37.9560452Z (%PREFIX%) %SRC_DIR%>call "C:\Miniforge\Scripts\..\condabin\conda.bat" activate --stack "%BUILD_PREFIX%" 2022-10-16T16:52:38.5672221Z 2022-10-16T16:52:38.5673404Z %SRC_DIR%>SET DISTUTILS_USE_SDK=1 2022-10-16T16:52:38.5675412Z 2022-10-16T16:52:38.5675892Z %SRC_DIR%>SET MSSdk=1 2022-10-16T16:52:38.5679865Z 2022-10-16T16:52:38.5680904Z %SRC_DIR%>SET "VS_VERSION=16.0" 2022-10-16T16:52:38.5682755Z 2022-10-16T16:52:38.5683396Z %SRC_DIR%>SET "VS_MAJOR=16" 2022-10-16T16:52:38.5686309Z 2022-10-16T16:52:38.5686999Z %SRC_DIR%>SET "VS_YEAR=2019" 2022-10-16T16:52:38.5689348Z 2022-10-16T16:52:38.5690180Z %SRC_DIR%>set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out" 2022-10-16T16:52:38.5692102Z 2022-10-16T16:52:38.5692689Z %SRC_DIR%>set "MSYS2_ENV_CONV_EXCL=CL" 2022-10-16T16:52:38.5696764Z 2022-10-16T16:52:38.5697539Z %SRC_DIR%>set "PY_VCRUNTIME_REDIST=%PREFIX%\bin\vcruntime140.dll" 2022-10-16T16:52:38.5700351Z 2022-10-16T16:52:38.5701046Z %SRC_DIR%>set "CXX=cl.exe" 2022-10-16T16:52:38.5702703Z 2022-10-16T16:52:38.5703179Z %SRC_DIR%>set "CC=cl.exe" 2022-10-16T16:52:38.5706106Z 2022-10-16T16:52:38.5706549Z %SRC_DIR%>set "VSINSTALLDIR=" 2022-10-16T16:52:38.5709492Z 2022-10-16T16:52:38.5710150Z %SRC_DIR%>set "NEWER_VS_WITH_OLDER_VC=0" 2022-10-16T16:52:38.5713186Z 2022-10-16T16:52:38.5714090Z %SRC_DIR%>for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -version [16.0,17.0) -property installationPath`) do (set "VSINSTALLDIR=%i\" ) 2022-10-16T16:52:38.8269026Z 2022-10-16T16:52:38.8270338Z %SRC_DIR%>(set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" ) 2022-10-16T16:52:38.8273753Z 2022-10-16T16:52:38.8274768Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (for /F "usebackq tokens=*" %i in (`vswhere.exe -nologo -products * -requires Microsoft.VisualStudio.Component.VC.v142.x86.x64 -property installationPath`) do ( 2022-10-16T16:52:38.8275611Z set "VSINSTALLDIR=%i\" 2022-10-16T16:52:38.8276776Z set "NEWER_VS_WITH_OLDER_VC=1" 2022-10-16T16:52:38.8277893Z ) ) 2022-10-16T16:52:38.8278500Z 2022-10-16T16:52:38.8280349Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\" ) 2022-10-16T16:52:38.8281019Z 2022-10-16T16:52:38.8281758Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\" ) 2022-10-16T16:52:38.8283084Z 2022-10-16T16:52:38.8283973Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\" ) 2022-10-16T16:52:38.8285198Z 2022-10-16T16:52:38.8285763Z %SRC_DIR%>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" (set "VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\" ) 2022-10-16T16:52:38.8287557Z 2022-10-16T16:52:38.8288170Z %SRC_DIR%>IF NOT "1" == "" ( 2022-10-16T16:52:38.8288943Z set "INCLUDE=%PREFIX%\Library\include;%PREFIX%\Library\include;" 2022-10-16T16:52:38.8289671Z set "LIB=%PREFIX%\Library\lib;%PREFIX%\Library\lib;" 2022-10-16T16:52:38.8290484Z set "CMAKE_PREFIX_PATH=%PREFIX%\Library;" 2022-10-16T16:52:38.8291247Z ) 2022-10-16T16:52:38.8293695Z 2022-10-16T16:52:38.8294311Z %SRC_DIR%>call :GetWin10SdkDir 2022-10-16T16:52:38.8308422Z 2022-10-16T16:52:38.8309025Z %SRC_DIR%>call :GetWin10SdkDirHelper HKLM\SOFTWARE\Wow6432Node 1>nul 2>&1 2022-10-16T16:52:38.8506979Z 2022-10-16T16:52:38.8508580Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node 1>nul 2>&1 2022-10-16T16:52:38.8509171Z 2022-10-16T16:52:38.8511108Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKLM\SOFTWARE 1>nul 2>&1 2022-10-16T16:52:38.8511721Z 2022-10-16T16:52:38.8512516Z %SRC_DIR%>if errorlevel 1 call :GetWin10SdkDirHelper HKCU\SOFTWARE 1>nul 2>&1 2022-10-16T16:52:38.8512951Z 2022-10-16T16:52:38.8513547Z %SRC_DIR%>if errorlevel 1 exit /B 1 2022-10-16T16:52:38.8513782Z 2022-10-16T16:52:38.8514602Z %SRC_DIR%>exit /B 0 2022-10-16T16:52:38.8516043Z 2022-10-16T16:52:38.8516686Z %SRC_DIR%>for /F %i in ('dir /ON /B "C:\Program Files (x86)\Windows Kits\10\\include\10.*"') DO (SET WindowsSDKVer=%~i ) 2022-10-16T16:52:38.8875876Z 2022-10-16T16:52:38.8877612Z %SRC_DIR%>(SET WindowsSDKVer=10.0.10240.0 ) 2022-10-16T16:52:38.8878390Z 2022-10-16T16:52:38.8879165Z %SRC_DIR%>(SET WindowsSDKVer=10.0.14393.0 ) 2022-10-16T16:52:38.8880443Z 2022-10-16T16:52:38.8881113Z %SRC_DIR%>(SET WindowsSDKVer=10.0.16299.0 ) 2022-10-16T16:52:38.8881994Z 2022-10-16T16:52:38.8882698Z %SRC_DIR%>(SET WindowsSDKVer=10.0.17134.0 ) 2022-10-16T16:52:38.8884123Z 2022-10-16T16:52:38.8884881Z %SRC_DIR%>(SET WindowsSDKVer=10.0.17763.0 ) 2022-10-16T16:52:38.8886012Z 2022-10-16T16:52:38.8886692Z %SRC_DIR%>(SET WindowsSDKVer=10.0.18362.0 ) 2022-10-16T16:52:38.8887621Z 2022-10-16T16:52:38.8888342Z %SRC_DIR%>(SET WindowsSDKVer=10.0.19041.0 ) 2022-10-16T16:52:38.8890622Z 2022-10-16T16:52:38.8891278Z %SRC_DIR%>(SET WindowsSDKVer=10.0.20348.0 ) 2022-10-16T16:52:38.8892223Z 2022-10-16T16:52:38.8892943Z %SRC_DIR%>(SET WindowsSDKVer=10.0.22000.0 ) 2022-10-16T16:52:38.8894926Z 2022-10-16T16:52:38.8895629Z %SRC_DIR%>(SET WindowsSDKVer=10.0.22621.0 ) 2022-10-16T16:52:38.8898284Z 2022-10-16T16:52:38.8899296Z %SRC_DIR%>if errorlevel 1 (echo "Didn't find any windows 10 SDK. I'm not sure if things will work, but let's try..." ) else (echo Windows SDK version found as: "10.0.22621.0" ) 2022-10-16T16:52:38.8900102Z Windows SDK version found as: "10.0.22621.0" 2022-10-16T16:52:38.8901734Z 2022-10-16T16:52:38.8902558Z %SRC_DIR%>IF "win-64" == "win-64" ( 2022-10-16T16:52:38.8903099Z set "BITS=64" 2022-10-16T16:52:38.8903642Z set "CMAKE_PLAT=x64" 2022-10-16T16:52:38.8904365Z ) ELSE ( 2022-10-16T16:52:38.8904871Z set "BITS=32" 2022-10-16T16:52:38.8905430Z set "CMAKE_PLAT=Win32" 2022-10-16T16:52:38.8905986Z ) 2022-10-16T16:52:38.8907991Z 2022-10-16T16:52:38.8908691Z %SRC_DIR%>IF 2019 GEQ 2019 ( 2022-10-16T16:52:38.8909381Z set "CMAKE_GEN=Visual Studio 16 2019" 2022-10-16T16:52:38.8910124Z set "USE_NEW_CMAKE_GEN_SYNTAX=1" 2022-10-16T16:52:38.8910834Z ) ELSE ( 2022-10-16T16:52:38.8911598Z IF "win-64" == "win-64" (set "CMAKE_GEN=Visual Studio 16 2019 Win64" ) else (set "CMAKE_GEN=Visual Studio 16 2019" ) 2022-10-16T16:52:38.8912246Z set "USE_NEW_CMAKE_GEN_SYNTAX=0" 2022-10-16T16:52:38.8913342Z ) 2022-10-16T16:52:38.8913691Z 2022-10-16T16:52:38.8914430Z %SRC_DIR%>echo "NEWER_VS_WITH_OLDER_VC=0" 2022-10-16T16:52:38.8915127Z "NEWER_VS_WITH_OLDER_VC=0" 2022-10-16T16:52:38.8916379Z 2022-10-16T16:52:38.8917012Z %SRC_DIR%>IF "0" == "1" ( 2022-10-16T16:52:38.8917741Z set "CMAKE_GEN=Visual Studio 16 2019" 2022-10-16T16:52:38.8918694Z set "USE_NEW_CMAKE_GEN_SYNTAX=1" 2022-10-16T16:52:38.8919371Z ) 2022-10-16T16:52:38.8919895Z 2022-10-16T16:52:38.8920465Z %SRC_DIR%>IF "" == "" SET "CMAKE_GENERATOR=Visual Studio 16 2019" 2022-10-16T16:52:38.8924100Z 2022-10-16T16:52:38.8924719Z %SRC_DIR%>IF "1" == "1" ( 2022-10-16T16:52:38.8925312Z IF "" == "" SET "CMAKE_GENERATOR_PLATFORM=x64" 2022-10-16T16:52:38.8925793Z IF "" == "" SET "CMAKE_GENERATOR_TOOLSET=v142" 2022-10-16T16:52:38.8926397Z ) 2022-10-16T16:52:38.8929077Z 2022-10-16T16:52:38.8929580Z %SRC_DIR%>pushd C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ 2022-10-16T16:52:38.8935348Z 2022-10-16T16:52:38.8936162Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.29 10.0.22621.0 2022-10-16T16:52:39.3794411Z ********************************************************************** 2022-10-16T16:52:39.3799367Z ** Visual Studio 2019 Developer Command Prompt v16.11.20 2022-10-16T16:52:39.3800382Z ** Copyright (c) 2021 Microsoft Corporation 2022-10-16T16:52:39.3801295Z ********************************************************************** 2022-10-16T16:52:41.6756879Z [vcvarsall.bat] Environment initialized for: 'x64' 2022-10-16T16:52:41.7621979Z A subdirectory or file build already exists. 2022-10-16T16:52:41.8948195Z -- Building SuiteSparse:GraphBLAS version: v7.3.0, date: Oct 14, 2022 2022-10-16T16:52:41.8949433Z -- GraphBLAS C API: v2.0, date: Nov 15, 2021 2022-10-16T16:52:41.8953924Z -- Source: D:/bld/graphblas_1665939000715/work 2022-10-16T16:52:41.8954965Z -- Build: D:/bld/graphblas_1665939000715/work/build 2022-10-16T16:52:48.6365160Z -- The C compiler identification is MSVC 19.29.30146.0 2022-10-16T16:52:48.7024267Z -- Detecting C compiler ABI info 2022-10-16T16:52:50.8782122Z -- Detecting C compiler ABI info - done 2022-10-16T16:52:50.8810020Z -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped 2022-10-16T16:52:50.8816899Z -- Detecting C compile features 2022-10-16T16:52:50.8826391Z -- Detecting C compile features - done 2022-10-16T16:52:50.8870441Z -- Local install: D:/bld/graphblas_1665939000715/lib 2022-10-16T16:52:50.8871265Z -- Local include: D:/bld/graphblas_1665939000715/include 2022-10-16T16:52:50.8871884Z -- Local bin: D:/bld/graphblas_1665939000715/bin 2022-10-16T16:52:50.8872706Z -- Install rpath: D:/bld/graphblas_1665939000715/lib 2022-10-16T16:52:50.8873659Z -- Build rpath: D:/bld/graphblas_1665939000715/work/build;D:/bld/graphblas_1665939000715/lib 2022-10-16T16:52:50.8874370Z -- Build type: Release 2022-10-16T16:52:50.8874898Z -- CUDA: not enabled 2022-10-16T16:52:52.2653370Z -- Found OpenMP_C: -openmp (found version "2.0") 2022-10-16T16:52:52.2658917Z -- Found OpenMP: TRUE (found version "2.0") 2022-10-16T16:52:52.2660365Z -- cpu_features (by google.com): disabled 2022-10-16T16:52:52.2661050Z -- Building dynamic GraphBLAS library 2022-10-16T16:52:52.3240694Z -- CMAKE OpenMP libraries: 2022-10-16T16:52:52.3242472Z -- CMAKE OpenMP include: 2022-10-16T16:52:52.3243135Z -- CMAKE OpenMP C flags: -openmp 2022-10-16T16:52:52.3243863Z -- CMAKE C flags: /DWIN32 /D_WINDOWS -DGBNCPUFEAT /O2 -wd"4244" -wd"4146" -wd"4018" -wd"4996" -wd"4047" -wd"4554" /O2 /Ob2 /DNDEBUG -openmp 2022-10-16T16:52:52.3244636Z -- Skipping the demos in GraphBLAS/Demo 2022-10-16T16:52:52.3245301Z -- Installation will be system-wide (requires 'sudo make install') 2022-10-16T16:52:52.3246816Z -- Installation in ../../lib and ../../include, 2022-10-16T16:52:52.3247502Z -- with 'make local ; make install'. No 'sudo' required. 2022-10-16T16:52:52.3248598Z -- CMAKE C flags: /DWIN32 /D_WINDOWS -DGBNCPUFEAT /O2 -wd"4244" -wd"4146" -wd"4018" -wd"4996" -wd"4047" -wd"4554" /O2 /Ob2 /DNDEBUG -openmp 2022-10-16T16:52:52.3249305Z -- CMAKE C++ flags: 2022-10-16T16:52:52.3249952Z -- CMAKE build type: Release 2022-10-16T16:52:52.3250554Z -- CMAKE C Flags release: /O2 /Ob2 /DNDEBUG 2022-10-16T16:52:52.3251117Z -- CMAKE C++ Flags release: 2022-10-16T16:52:52.3251694Z -- CMAKE C compiler: MSVC 2022-10-16T16:52:52.3252228Z -- CMAKE C++ compiler: 2022-10-16T16:52:52.3252830Z -- CMAKE have OpenMP: TRUE 2022-10-16T16:52:52.3253421Z -- Configuring done 2022-10-16T16:52:56.6054670Z -- Generating done 2022-10-16T16:52:56.6111136Z -- Build files have been written to: D:/bld/graphblas_1665939000715/work/build 2022-10-16T16:52:56.6286994Z 2022-10-16T16:52:56.6292552Z Microsoft (R) Program Maintenance Utility Version 14.29.30146.0 2022-10-16T16:52:56.6293452Z Copyright (C) Microsoft Corporation. All rights reserved. 2022-10-16T16:52:56.6294048Z 2022-10-16T16:53:02.7233145Z [ 0%] Building C object CMakeFiles/graphblas.dir/Source/GB_AxB_colscale.c.obj 2022-10-16T16:53:02.7597107Z GB_AxB_colscale.c [...] 2022-10-16T17:27:00.1280461Z [ 62%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_int16.c.obj 2022-10-16T17:27:00.1648287Z GB_binop__div_int16.c 2022-10-16T17:27:01.8359673Z [ 62%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_int32.c.obj 2022-10-16T17:27:01.8725587Z GB_binop__div_int32.c 2022-10-16T17:27:03.4183203Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_int64.c.obj 2022-10-16T17:27:03.4551874Z GB_binop__div_int64.c 2022-10-16T17:27:05.0804399Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_int8.c.obj 2022-10-16T17:27:05.1171297Z GB_binop__div_int8.c 2022-10-16T17:27:06.6791274Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_uint16.c.obj 2022-10-16T17:27:06.7154059Z GB_binop__div_uint16.c 2022-10-16T17:27:08.1679832Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_uint32.c.obj 2022-10-16T17:27:08.2046314Z GB_binop__div_uint32.c 2022-10-16T17:27:09.7876761Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_uint64.c.obj 2022-10-16T17:27:09.8237107Z GB_binop__div_uint64.c 2022-10-16T17:27:11.3759989Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__div_uint8.c.obj 2022-10-16T17:27:11.4121696Z GB_binop__div_uint8.c 2022-10-16T17:27:12.8452871Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_bool.c.obj 2022-10-16T17:27:12.8818246Z GB_binop__eq_bool.c 2022-10-16T17:27:14.3355264Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_fc32.c.obj 2022-10-16T17:27:14.3722696Z GB_binop__eq_fc32.c 2022-10-16T17:27:15.9886343Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_fc64.c.obj 2022-10-16T17:27:16.0248439Z GB_binop__eq_fc64.c 2022-10-16T17:27:17.6562552Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_fp32.c.obj 2022-10-16T17:27:17.6925844Z GB_binop__eq_fp32.c 2022-10-16T17:27:19.7173940Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_fp64.c.obj 2022-10-16T17:27:19.7543246Z GB_binop__eq_fp64.c 2022-10-16T17:27:21.7240823Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_int16.c.obj 2022-10-16T17:27:21.7605739Z GB_binop__eq_int16.c 2022-10-16T17:27:23.2700348Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_int32.c.obj 2022-10-16T17:27:23.3066237Z GB_binop__eq_int32.c 2022-10-16T17:27:24.7000253Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_int64.c.obj 2022-10-16T17:27:24.7360504Z GB_binop__eq_int64.c 2022-10-16T17:27:26.1900978Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_int8.c.obj 2022-10-16T17:27:26.2259226Z GB_binop__eq_int8.c 2022-10-16T17:27:27.7019352Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_uint16.c.obj 2022-10-16T17:27:27.7382068Z GB_binop__eq_uint16.c 2022-10-16T17:27:29.1469946Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_uint32.c.obj 2022-10-16T17:27:29.1831403Z GB_binop__eq_uint32.c 2022-10-16T17:27:30.6354510Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_uint64.c.obj 2022-10-16T17:27:30.6726963Z GB_binop__eq_uint64.c 2022-10-16T17:27:32.1375284Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__eq_uint8.c.obj 2022-10-16T17:27:32.1738853Z GB_binop__eq_uint8.c 2022-10-16T17:27:33.5617582Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__first_bool.c.obj 2022-10-16T17:27:33.5990500Z GB_binop__first_bool.c 2022-10-16T17:27:35.0252780Z [ 63%] Building C object CMakeFiles/graphblas.dir/Source/Generated2/GB_binop__first_fc32.c.obj 2022-10-16T17:27:35.0614737Z GB_binop__first_fc32.c 2022-10-16T17:27:35.9538653Z %SRC_DIR%\Source\Template\GB_sparse_add_template.c(398) : fatal error C1001: Internal compiler error. 2022-10-16T17:27:35.9540279Z (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 213) 2022-10-16T17:27:35.9550634Z To work around this problem, try simplifying or changing the program near the locations listed above. 2022-10-16T17:27:35.9551530Z If possible please provide a repro here: https://developercommunity.visualstudio.com 2022-10-16T17:27:35.9552213Z Please choose the Technical Support command on the Visual C++ 2022-10-16T17:27:35.9552950Z Help menu, or open the Technical Support help file for more information 2022-10-16T17:27:35.9811077Z 2022-10-16T17:27:38.2358727Z NMAKE : fatal error U1077: 'D:\bld\graphblas_1665939000715\_build_env\Library\bin\cmake.exe' : return code '0x1' 2022-10-16T17:27:38.2454790Z Stop. 2022-10-16T17:27:38.4744400Z NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2' 2022-10-16T17:27:38.4745710Z Stop. 2022-10-16T17:27:38.4764678Z NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2' 2022-10-16T17:27:38.4765615Z Stop. 2022-10-16T17:27:40.4566423Z Traceback (most recent call last): 2022-10-16T17:27:40.4567739Z File "C:\Miniforge\Scripts\conda-mambabuild-script.py", line 9, in 2022-10-16T17:27:40.4568542Z sys.exit(main()) 2022-10-16T17:27:40.4569236Z File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 239, in main 2022-10-16T17:27:40.4570256Z call_conda_build(action, config) 2022-10-16T17:27:40.4570883Z File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 211, in call_conda_build 2022-10-16T17:27:40.4571600Z result = api.build( 2022-10-16T17:27:40.4572252Z File "C:\Miniforge\lib\site-packages\conda_build\api.py", line 186, in build 2022-10-16T17:27:40.4573884Z return build_tree( 2022-10-16T17:27:40.4574545Z File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 3091, in build_tree 2022-10-16T17:27:40.4581146Z packages_from_this = build(metadata, stats, 2022-10-16T17:27:40.4582053Z File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 2182, in build 2022-10-16T17:27:40.4586203Z windows.build(m, build_file, stats=build_stats, provision_only=provision_only) 2022-10-16T17:27:40.4586878Z File "C:\Miniforge\lib\site-packages\conda_build\windows.py", line 297, in build 2022-10-16T17:27:40.4588014Z check_call_env(cmd, cwd=m.config.work_dir, stats=stats, rewrite_stdout_env=rewrite_env) 2022-10-16T17:27:40.4588760Z File "C:\Miniforge\lib\site-packages\conda_build\utils.py", line 412, in check_call_env 2022-10-16T17:27:40.4589733Z return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs) 2022-10-16T17:27:40.4590546Z File "C:\Miniforge\lib\site-packages\conda_build\utils.py", line 392, in _func_defaulting_env_to_os_environ 2022-10-16T17:27:40.4591342Z raise subprocess.CalledProcessError(proc.returncode, _args) 2022-10-16T17:27:40.4592102Z subprocess.CalledProcessError: Command '['cmd.exe', '/d', '/c', 'conda_build.bat']' returned non-zero exit status 1. 2022-10-16T17:27:44.2685393Z ##[error]Cmd.exe exited with code '1'. 2022-10-16T17:27:44.3052119Z ##[section]Finishing: Build recipe ```

I don't know what else to do or try. Any suggestions? Perhaps we could try removing compiler optimizations, but I don't know where to start.

For now, we'll continue to build using vs2017 (and I think I found a better way to do this here: https://github.com/conda-forge/graphblas-feedstock/pull/46). Are there any known issues or limitations with this?

Installed packages

N/A

Environment info

N/A
jakirkham commented 2 years ago

cc @h-vetinari

jim22k commented 2 years ago

@eriknw The fact that the error happens in fc32 is highly suspicious. In fact, why is it compiling that file at all? I thought we disabled all complex number handling for Windows.

eriknw commented 2 years ago

GraphBLAS compiles with support for complex numbers on Windows, but we don't support complex in python-suitesparse-graphblas because of limitations of cffi. We should try to not remove support for complex numbers on Windows b/c GraphBLAS is used by more than Python. Note that there are known limitations with complex numbers in Windows, such as asinh behaves improperly.

h-vetinari commented 2 years ago

GraphBLAS compiles with support for complex numbers on Windows, but we don't support complex in python-suitesparse-graphblas because of limitations of cffi.

Thinking we might want to disable complex numbers on windows in any case...? It's possible to do things with shim types (msvc does support C99 complex, but not with standard types... 🤦), but that's generally a major PITA, especially if those types end up in the interface.

So it just shows up "the most" in FFI, but any consuming library will have the same issues.

But I'm not sure I understand how the move to vs2019 broke things... Since the log basically shows an ICE (internal compiler error; those are fixed by MS with high priority), I think the best approach might just be to raise a bug on the VS community tracker.

Sidenote: going back to vs2017 (in conda_build_condig.yaml) would be possible short-term, but not long-term (unless also pinning llvm-openmp<14, which is not ecosystem-compatible), because LLVM 14+ requires vs2019.

isuruf commented 2 years ago

Sidenote: going back to vs2017 (in conda_build_condig.yaml) would be possible short-term, but not long-term (unless also pinning llvm-openmp<14, which is not ecosystem-compatible), because LLVM 14+ requires vs2019.

This is wrong. As long as DLLs are used, compiling and linking graphblas with llvm-openmp 14+ using vs2017 should be possible.

h-vetinari commented 2 years ago

This is wrong. As long as DLLs are used, compiling and linking graphblas with llvm-openmp 14+ using vs2017 should be possible.

I was referring to this statement in the docs:

However, you must link by using a toolset at least as recent as the most recent binary in your app.

I understood that as having to use vc142/vs2019 to be able to consume the openmp DLL built by vc142/vs2019, but if it works after all - happy to hear!

isuruf commented 2 years ago

That's for static libraries. Not DLLs

eriknw commented 2 years ago

Thanks for helping all.

Perhaps this issue is related: https://developercommunity.visualstudio.com/t/fatal-error-C1001:-Internal-compiler-err/1390698

In the meantime, you can work-around this issue by disabling the phase that triggers this problem, by using the /d2ssa-cse- switch.

How do we try the "/d2ssa-cse- switch"? Do I add something to the cmake command in bld.bat? I'm a novice at compiling on Windows, so I need something I can copy/paste.

eriknw commented 2 years ago

Thinking we might want to disable complex numbers on windows in any case...?

That doesn't sound unreasonable. @DrTimothyAldenDavis, is there a way to disable complex on Windows (I don't think there currently is, right?)? Do you know if anybody actually uses complex on Windows? It sounds like we can continue using vs2017 for now, so it's not pressing.

DrTimothyAldenDavis commented 2 years ago

Disable complex on Windows would break MATLAB C=A*B, which uses GraphBLAS.

h-vetinari commented 2 years ago

Disable complex on Windows would break MATLAB C=A*B, which uses GraphBLAS.

But MATLAB is not built on conda-forge packages. What I was talking about was not to change anything upstream[^1], but to modify the packaging recipe here to disable complex on windows just within conda-forge.

[^1]: except perhaps a switch we could use, so we don't have to monkeypatch.

DrTimothyAldenDavis commented 2 years ago

Got it. Then I have an easy solution.

I have a mechanism for disabling any data type, operator, semiring, monoid, etc. I implemented this a while back as a way to save compile time and file size of the resulting compiled library.

A disabled type / operator /etc is still available, it's just slower because it uses what I call a "generic" method, with function pointers for the operators for example, and memcpy for the assignments. If you use C=A*B for example, in the PLUS_TIMES_FP64 semiring, but A is FP32, then I have to typecast. I don't have such a kernel, so I call my generic method.

The GB_control.h file contains the possible control settings (it's long ...!). See: https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/stable/Source/GB_control.h

What you could do is to compile all of GraphBLAS with -DGxB_NO_FC32 for example, and also -DGxB_NO_FC64. See: https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/97510b55fba589e6ea315fe433237633057e7048/Source/GB_control.h#L176 You can enable that setting by uncommenting line 176 and 177, or better yet by compiling all of GraphBLAS with

-DGxB_NO_FC32 -DGxB_NO_FC64

That would force all complex-type operators to go the "generic" route. With this setting, I would not compile the code that is causing the bug, but you would also find all complex types to be slow.

I think the compiler bug is triggered by this code: https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/stable/Source/Generated2/GB_binop__first_fc32.c

Take a look at this line: https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/97510b55fba589e6ea315fe433237633057e7048/Source/Generated2/GB_binop__first_fc32.c#L119

You could be even more selective, if you like. If this is the only file that triggers the compiler bug, you can compile all of GraphBLAS with this:

-DGxB_NO_FIRST_FC32

Then, only 5 files in Source/Generated2 get disabled:

 $ ack -l GxB_NO_FIRST_FC32
GB_control.h
Generated2/GB_AxB__any_first_fc32.c
Generated2/GB_AxB__plus_first_fc32.c
Generated2/GB_AxB__times_first_fc32.c
Generated2/GB_binop__first_fc32.c
Generated2/GB_red__first_fc32.c

That is, three semrings: GxB_ANY_FIRST_FC32, PLUS_FIRST_FC32, TIMES_FIRST_FC32, the binary ops (eWiseAdd, eWiseMult, and so on) for FIRST_FC32, and the reduction operator (matrix or vector to scalar). Note that the reduction using the FIRST operator is rather unusual. It's not part of the normal reduction to scalar by GrB_reduce. I use these also for building a matrix with GrB_Matrix_build, which can use the FIRST operator.

The FIRST operator is surprisingly useful in GraphBLAS, so it's a shame to make these 5 methods Generic if you don't have to. The advantage of compiling all of GraphBLAS with -DGxB_NO_FIRST_FC32 is that there are no changes need to the source code, at all. Just toss that flag into all of GraphBLAS.

As an alternative, if it's possible in CMake, you could compile just the one offending file with -DGxB_NO_FIRST_FC32.

Or if you want to edit a file (maybe with a script?), you could revise the file https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/97510b55fba589e6ea315fe433237633057e7048/Source/Generated2/GB_binop__first_fc32.c#L121 and change these lines:

// disable this operator and use the generic case if these conditions hold
#define GB_DISABLE \
    (GxB_NO_FIRST || GxB_NO_FC32 || GxB_NO_FIRST_FC32)

to

// disable this operator and use the generic case if these conditions hold
#define GB_DISABLE \
    (1)

I don't have a method to manually edit the files in the Source/Generated folders. These are all auto-generated via MATLAB and m4 scripts (see Source/codegen.m). Yea, I know, it's pretty crazy :-)

But this change would be the most surgical, affecting just a single file, not all 5.

I would suggest first just trying -DGxB_NO_FIRST_FC32 and see if that fixes the problem.

DrTimothyAldenDavis commented 2 years ago

You could also make this dependent on the compiler version. If you're using vs2019 then add -DGxB_NO_FIRST_FC32, but leave that option out for all other cases.

jakirkham commented 2 years ago

Disable complex on Windows would break MATLAB C=A*B, which uses GraphBLAS.

But MATLAB is not built on conda-forge packages. What I was talking about was not to change anything upstream1, but to modify the packaging recipe here to disable complex on windows just within conda-forge.

Footnotes

  1. except perhaps a switch we could use, so we don't have to monkeypatch.

That said, we do ship Octave in conda-forge. Though Idk if we are publishing GraphBLAS packages usable from Octave.

DrTimothyAldenDavis commented 2 years ago

My suggestion (-DGxB_NO_FIRST_FC32) wouldn't have any effect on the functionality of Octave, if it were to use it via conda-forge. It would at most make that particular operation a little slower, but maybe none at all. I know that GraphBLAS can be used in Octave, via its MATLAB/Octave interface, but I don't think GraphBLAS is a core dependency inside Octave itself.

So this change would be pretty safe I think.

DrTimothyAldenDavis commented 2 years ago

Let me know if -DGxB_NO_FIRST_FC32 fixes the problem for vs2019. If so, I'll post it as an issue in the main GraphBLAS and SuiteSparse repos, and I'll add a note in the GraphBLAS documentation.

eriknw commented 2 years ago

Thanks @DrTimothyAldenDavis. I will run these experiments. It's easy to conditionally apply a patch so we can be surgical, but first I'll try disabling fc32 (and fc64 if necessary) everywhere to see what happens.

eriknw commented 2 years ago

Compiled :tada:! I added the patch you describe to disable first_fc32 and second_fc32 on Windows. See: https://github.com/conda-forge/graphblas-feedstock/pull/49

DrTimothyAldenDavis commented 2 years ago

Awesome! For GraphBLAS v7.3.1, I can be more selective, and modify my source code generator so that it more selectively disables just the functions that are failing. I would need a little help, only to know the value of _MSC_VER that is vs2019. I already query the compiler and version here:

https://github.com/DrTimothyAldenDavis/GraphBLAS/blob/9248cabd439c2578f08b51b96c657d1d25e1c99e/Source/GB_compiler.h#L120

If I knew the _MSC_VER (or ranges) that has the compiler bug, I could add a special disable flag that would turn on the GB_DISABLE flag for just these 2 files:

Generated2/GB_binop__first_fc32.c
Generated2/GB_binop__second_fc32.c

Those are the eWise operators that use the FIRST_FC32 and SECOND_FC32 operators. The use of eWiseAdd, eWiseMult, C=AD and C=DB where D is diagonal, would be disabled, but those are likely rare.

Much more commom would be GrB_Matrix_build for FC32 matrices, when the "dup" operator is set to GxB_IGNORE_DUP (which means duplicates are ignored, and I take the last tuple seen. This is a SuiteSparse:GraphbLAS extension but it's really important). That method would rely on the file:

Generated2/GB_red__second_fc32.c

which doesn't trigger the compiler bug, and which is very important for performance when working with single-precision complex matrices. So that file should really not be disabled, if at all possible.

eriknw commented 2 years ago

If I knew the _MSC_VER (or ranges) that has the compiler bug, [...]

The version number I see is 19.29.30139. I guess this is the version returned by cl.exe. I don't actually understand VS versions (see https://github.com/conda-forge/graphblas-feedstock/pull/45#issuecomment-1283383448). Good luck!

h-vetinari commented 2 years ago

If I knew the _MSC_VER (or ranges) that has the compiler bug, [...]

The version number I see is 19.29.30139. I guess this is the version returned by cl.exe. I don't actually understand VS versions (see #45 (comment)). Good luck!

_MSC_VER >= 1920 gets you all of the VS2019 series. The earlier versions aren't much in use though anymore, and might not work. >=1928 is probably a safer bet, that's when C11 support arrived. The last version of the VS2019 series (i.e. the one in public CI; realistically the only one that actually gets tested) would be >=1929.

The comment linked by @eriknw that I made in the other PR has more details.

h-vetinari commented 2 years ago

>=1928 is probably a safer bet

On second thought, since this is about pessimisation to avoid a bug, and we don't know exactly when it was introduced (and neither should you spend time IMO to investigate), probably >=1920 after all. I'd also add <1930, as long as we haven't tested VS2022 yet

DrTimothyAldenDavis commented 2 years ago

Thanks. I've got a draft in progress, which disables these 2 methods for _MSC_VER between 1920 to 1929.

DrTimothyAldenDavis commented 2 years ago

Can you give v7.3.1.beta1 a try, without any work-around on your side, to make sure this is fixed in v7.3.1?

eriknw commented 2 years ago

v7.3.1.beta1 works w/o a patch: https://github.com/conda-forge/graphblas-feedstock/pull/50

eriknw commented 2 years ago

Closing. v7.3.1 is released and works with vs2019 w/o a patch. Thanks @DrTimothyAldenDavis!

jakirkham commented 2 years ago

Thanks everyone for the help here! 🙏