File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- SuiteSparse_config/SuiteSparse_config.h 2015-07-15 03:26:41.000000000 +0000
2
+ +++ SuiteSparse_config/SuiteSparse_config.h 2016-07-01 00:55:57.157465600 +0000
3
+ @@ -54,7 +54,11 @@
4
+ #ifdef _WIN64
5
+
6
+ #define SuiteSparse_long __int64
7
+ + #ifdef _MSVC_VER
8
+ #define SuiteSparse_long_max _I64_MAX
9
+ + #else
10
+ + #define SuiteSparse_long_max LLONG_MAX
11
+ + #endif
12
+ #define SuiteSparse_long_idd "I64d"
13
+
14
+ #else
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ $(BUILDDIR)/SuiteSparse-$(SUITESPARSE_VER)/Makefile: $(SRCDIR)/srccache/SuiteSpa
37
37
$(TAR ) -C $(dir $@ ) --strip-components 1 -zxf $<
38
38
touch -c $@
39
39
40
+ $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /SuiteSparse-winclang.patch-applied : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /Makefile
41
+ cd $(dir $@ ) && patch -p0 < $(SRCDIR ) /patches/SuiteSparse-winclang.patch
42
+ echo 1 > $@
43
+
40
44
ifeq ($(USE_ATLAS ) , 1)
41
45
$(SUITESPARSE_OBJ_SOURCE ) : | $(ATLAS_OBJ_TARGET )
42
46
endif
@@ -46,7 +50,7 @@ $(SUITESPARSE_OBJ_SOURCE): | $(OPENBLAS_OBJ_TARGET)
46
50
else ifeq ($(USE_SYSTEM_LAPACK), 0)
47
51
$(SUITESPARSE_OBJ_SOURCE ) : | $(LAPACK_OBJ_TARGET )
48
52
endif
49
- $(SUITESPARSE_OBJ_SOURCE ) : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /Makefile
53
+ $(SUITESPARSE_OBJ_SOURCE ) : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /Makefile $( BUILDDIR ) /SuiteSparse- $( SUITESPARSE_VER ) /SuiteSparse-winclang.patch-applied
50
54
$(MAKE ) -C $(dir $< ) library $(SUITESPARSE_MFLAGS )
51
55
touch -c $@
52
56
$(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /checked : $(SUITESPARSE_OBJ_SOURCE )
You can’t perform that action at this time.
0 commit comments