1010 'win' : 'windows' ,
1111 }
1212
13+ blas_implementations = ['unset' , 'Generic' , 'OpenBLAS' , 'Intel10_64lp' ]
14+
15+ combinations = {'ubuntu' : blas_implementations ,
16+ 'macos' : blas_implementations ,
17+ 'windows' : ['unset' , 'Intel10_64lp' ],
18+ }
19+
1320conda_jobs = []
1421for conda_pkg_file in Path ("slycot-conda-pkgs" ).glob ("*/*.tar.bz2" ):
1522 cos = osmap [conda_pkg_file .parent .name .split ("-" )[0 ]]
1623 m = re .search (r'py(\d)(\d+)_' , conda_pkg_file .name )
1724 pymajor , pyminor = int (m [1 ]), int (m [2 ])
1825 cpy = f'{ pymajor } .{ pyminor } '
19- for cbl in [ 'unset' , 'Generic' , 'OpenBLAS' , 'Intel10_64lp' ]:
26+ for cbl in combinations [ cos ]:
2027 cjob = {'packagekey' : f'{ cos } -{ cpy } ' ,
2128 'os' : cos ,
2229 'python' : cpy ,
2330 'blas_lib' : cbl }
24- if (cos == 'windows' and
25- pyminor < 8 and
26- cbl not in ['unset' , 'Intel10_64lp' ]):
27- # fatal windows error because numpy and matplotlib directly
28- # link to mkl on older versions
29- cjob ['failok' ] = "FAILOK"
3031 conda_jobs .append (cjob )
3132
3233matrix = { 'include' : conda_jobs }
33- print (json .dumps (matrix ))
34+ print (json .dumps (matrix ))
0 commit comments