Skip to content

Commit 7a56b2b

Browse files
committed
vckpkg cache and compiler for macosx
1 parent f943713 commit 7a56b2b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ jobs:
4242
CIBW_BEFORE_ALL_MACOS: brew install openblas
4343
CIBW_ENVIRONMENT_MACOS: EASYSBA_LAPACK_LIBS=openblas
4444
CIBW_BEFORE_ALL_WINDOWS: >-
45-
git clone https://github.com/microsoft/vcpkg.git C:\\vcpkg &&
46-
C:\\vcpkg\\bootstrap-vcpkg.bat -disableMetrics &&
47-
C:\\vcpkg\\vcpkg.exe install openblas:x64-windows
45+
if not exist C:\vcpkg\vcpkg.exe (
46+
git clone https://github.com/microsoft/vcpkg.git C:\vcpkg &&
47+
C:\vcpkg\bootstrap-vcpkg.bat -disableMetrics
48+
) &&
49+
C:\vcpkg\vcpkg.exe install openblas:x64-windows
4850
CIBW_ENVIRONMENT_WINDOWS: |
4951
EASYSBA_LAPACK_LIBS=openblas
5052
INCLUDE=C:\\vcpkg\\installed\\x64-windows\\include

src/compiler.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
3333

3434
#ifdef _MSC_VER
3535
#define SBA_FINITE _finite // MSVC
36-
#elif defined(__ICC) || defined(__INTEL_COMPILER) || defined(__GNUC__)
37-
#define SBA_FINITE finite // ICC, GCC
3836
#else
39-
#define SBA_FINITE finite // other than MSVC, ICC, GCC, let's hope this will work
37+
#define SBA_FINITE isfinite // C99 math.h
4038
#endif
4139

4240
#endif /* _COMPILER_H_ */

0 commit comments

Comments
 (0)