-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakeLists.txt
1830 lines (1569 loc) · 65.5 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# CMake support layer for SuiteSparse
#
# Copyright 2023 Sergiu Deitsch <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
cmake_minimum_required (VERSION 3.22)
if (NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
set (CMAKE_CUDA_ARCHITECTURES 75)
endif (NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
project (SuiteSparse
DESCRIPTION "A suite of sparse matrix packages"
HOMEPAGE_URL http://faculty.cse.tamu.edu/davis/suitesparse.html
LANGUAGES C
VERSION 5.13.0
)
set (CMAKE_DEBUG_POSTFIX _debug)
set (CMAKE_C_VISIBILITY_PRESET hidden)
set (CMAKE_CXX_VISIBILITY_PRESET hidden)
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
set (CMAKE_POSITION_INDEPENDENT_CODE ON)
set (CMAKE_VISIBILITY_INLINES_HIDDEN 1)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "SuiteSparse: an extended version of CSparse")
include (CheckCCompilerFlag)
include (CheckFunctionExists)
include (CheckIncludeFile)
include (CheckLanguage)
include (CheckLibraryExists)
include (CheckSymbolExists)
include (CheckTypeSize)
include (CMakeDependentOption)
include (CMakePackageConfigHelpers)
include (CMakePushCheckState)
include (ComponentVersion)
include (CPack)
include (FeatureSummary)
include (GenerateExportHeader)
include (GNUInstallDirs)
include (InstallRequiredSystemLibraries)
include (SuiteSparseBase)
option (BUILD_CXSPARSE "Build CXSparse" ON)
option (WITH_DEMOS "Build demos" ON)
option (WITH_METIS "Enables METIS support" ON)
option (WITH_OPENMP "Enable OpenMP support" ON)
option (WITH_PRINT "Print diagnostic messages" OFF)
option (WITH_TBB "Enables Intel Threading Building Blocks support" ON)
set (WITH_LICENSE "GPL" CACHE STRING "Software license the binary distribution should adhere")
set_property (CACHE WITH_LICENSE PROPERTY STRINGS "Minimal;GPL;LGPL")
check_language (CUDA)
check_language (CXX)
check_language (Fortran)
cmake_dependent_option (BUILD_SHARED_LIBS "Build shared libraires" OFF "WITH_LICENSE STREQUAL \"GPL\"" ON)
cmake_dependent_option (WITH_CUDA "Enable CUDA support" ON "CMAKE_CXX_COMPILER AND CMAKE_CUDA_COMPILER" OFF)
cmake_dependent_option (WITH_FORTRAN "Enables Fortran support" ON "CMAKE_Fortran_COMPILER" OFF)
cmake_dependent_option (WITH_LGPL "Enable GNU LGPL modules" ON "WITH_LICENSE MATCHES \"GPL\"" OFF)
cmake_dependent_option (WITH_GPL "Enable GNU GPL modules" ON "WITH_LICENSE STREQUAL \"GPL\"" OFF)
cmake_dependent_option (WITH_CHOLMOD "Enable CHOLMOD" ON "WITH_LGPL" OFF)
cmake_dependent_option (WITH_CHOLESKY "Enable the Cholesky module" ON "WITH_CHOLMOD" OFF)
cmake_dependent_option (WITH_CAMD "Enable interfaces to CAMD, CCOLAMD, CSYMAMD in Partition module" ON "WITH_LGPL" OFF)
cmake_dependent_option (WITH_CHECK "Enable the Check module" ON "WITH_LGPL" OFF)
cmake_dependent_option (WITH_MATRIXOPS "Enable the MatrixOps module" ON "WITH_GPL AND WITH_CHOLMOD" OFF)
cmake_dependent_option (WITH_MODIFY "Enable the Modify module" ON "WITH_GPL AND WITH_CHOLMOD" OFF)
cmake_dependent_option (WITH_SUPERNODAL "Enable the Supernodal module" ON
"WITH_CHOLESKY AND CMAKE_CXX_COMPILER AND WITH_GPL" OFF)
if (WITH_CUDA)
enable_language (CUDA)
else (WITH_CUDA)
set (CMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit ON)
endif (WITH_CUDA)
# CUDA and SPQR require a C++ compiler
if (WITH_SUPERNODAL OR WITH_CUDA)
enable_language (CXX)
endif (WITH_SUPERNODAL OR WITH_CUDA)
if (WITH_FORTRAN)
enable_language (Fortran)
endif (WITH_FORTRAN)
check_c_compiler_flag (-Qstd=c99 HAVE_QSTD_C99)
if (NOT WITH_METIS)
set (CMAKE_DISABLE_FIND_PACKAGE_METIS ON)
endif (NOT WITH_METIS)
if (NOT WITH_OPENMP)
set (CMAKE_DISABLE_FIND_PACKAGE_OpenMP ON)
endif (NOT WITH_OPENMP)
if (NOT WITH_TBB)
set (CMAKE_DISABLE_FIND_PACKAGE_TBB ON)
endif (NOT WITH_TBB)
find_package (BLAS REQUIRED)
find_package (CUDAToolkit)
find_package (LAPACK REQUIRED)
find_package (METIS 5.0)
find_package (OpenMP)
find_package (TBB 4.2...<2021.4 NO_MODULE)
function (check_options)
foreach (_OPT ${ARGV})
# Map PARTITION to WITH_METIS
if (_OPT STREQUAL PARTITION)
set (_OPT_NAME METIS)
else (_OPT STREQUAL PARTITION)
set (_OPT_NAME ${_OPT})
endif (_OPT STREQUAL PARTITION)
if (NOT DEFINED WITH_${_OPT_NAME})
message (FATAL_ERROR "Option WITH_${_OPT_NAME} is not defined")
endif (NOT DEFINED WITH_${_OPT_NAME})
if (NOT WITH_${_OPT_NAME})
set (N${_OPT} 1 PARENT_SCOPE)
else (NOT WITH_${_OPT_NAME})
set (N${_OPT} 0 PARENT_SCOPE)
endif (NOT WITH_${_OPT_NAME})
endforeach (_OPT)
endfunction (check_options)
check_options (
CAMD
CHECK
CHOLESKY
CHOLMOD
GPL
MATRIXOPS
MODIFY
PARTITION
PRINT
SUPERNODAL
)
if (NOT METIS_FOUND)
set (NPARTITION 1)
endif (NOT METIS_FOUND)
if (WITH_CUDA AND CMAKE_CUDA_COMPILER_LOADED)
set (CUDA_DEPENDENCY "find_dependency (CUDAToolkit ${CUDAToolkit_VERSION})")
endif (WITH_CUDA AND CMAKE_CUDA_COMPILER_LOADED)
cmake_push_check_state (RESET)
set (CMAKE_REQUIRED_LIBRARIES BLAS::BLAS LAPACK::LAPACK)
check_function_exists (sgemm HAVE_BLAS_NO_UNDERSCORE)
check_function_exists (sgemm_ HAVE_BLAS_UNDERSCORE)
cmake_pop_check_state ()
check_include_file (complex.h HAVE_COMPLEX_H)
check_include_file (fenv.h HAVE_FENV_H)
check_library_exists (m ceil "" HAVE_M)
cmake_push_check_state (RESET)
set (CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
if (HAVE_M)
set (CMAKE_REQUIRED_LIBRARIES m)
endif (HAVE_M)
check_symbol_exists (feenableexcept "fenv.h" HAVE_FEENABLEEXCEPT)
cmake_pop_check_state ()
check_symbol_exists (_controlfp "float.h" HAVE__CONTROLFP)
set (CMAKE_EXTRA_INCLUDE_FILES complex.h)
check_type_size (_C_double_complex HAVE_C_DOUBLE_COMPLEX BUILTIN_TYPES_ONLY)
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set_property (DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
_CRT_SECURE_NO_WARNINGS)
endif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set (AMD_HDRS
AMD/Include/amd.h
AMD/Include/amd_internal.h
)
set (AMD_SRCS
AMD/Source/amd_1.c
AMD/Source/amd_2.c
AMD/Source/amd_aat.c
AMD/Source/amd_control.c
AMD/Source/amd_defaults.c
AMD/Source/amd_dump.c
AMD/Source/amd_global.c
AMD/Source/amd_info.c
AMD/Source/amd_order.c
AMD/Source/amd_post_tree.c
AMD/Source/amd_postorder.c
AMD/Source/amd_preprocess.c
AMD/Source/amd_valid.c
)
set (BTF_HDRS
BTF/Include/btf.h
BTF/Include/btf_internal.h
)
set (BTF_SRCS
BTF/Source/btf_maxtrans.c
BTF/Source/btf_order.c
BTF/Source/btf_strongcomp.c
)
set (CAMD_HDRS
CAMD/Include/camd.h
CAMD/Include/camd_internal.h
)
set (CAMD_SRCS
CAMD/Source/camd_1.c
CAMD/Source/camd_2.c
CAMD/Source/camd_aat.c
CAMD/Source/camd_control.c
CAMD/Source/camd_defaults.c
CAMD/Source/camd_dump.c
CAMD/Source/camd_global.c
CAMD/Source/camd_info.c
CAMD/Source/camd_order.c
CAMD/Source/camd_postorder.c
CAMD/Source/camd_preprocess.c
CAMD/Source/camd_valid.c
)
if (WITH_CHOLMOD)
set (CHOLMOD_HDRS
${CMAKE_CURRENT_BINARY_DIR}/CHOLMOD/Include/cholmod_config.h
CHOLMOD/Include/cholmod.h
CHOLMOD/Include/cholmod_blas.h
CHOLMOD/Include/cholmod_camd.h
CHOLMOD/Include/cholmod_check.h
CHOLMOD/Include/cholmod_cholesky.h
CHOLMOD/Include/cholmod_complexity.h
CHOLMOD/Include/cholmod_core.h
CHOLMOD/Include/cholmod_function.h
CHOLMOD/Include/cholmod_gpu.h
CHOLMOD/Include/cholmod_gpu_kernels.h
CHOLMOD/Include/cholmod_internal.h
CHOLMOD/Include/cholmod_io64.h
CHOLMOD/Include/cholmod_matrixops.h
CHOLMOD/Include/cholmod_modify.h
CHOLMOD/Include/cholmod_partition.h
CHOLMOD/Include/cholmod_supernodal.h
CHOLMOD/Include/cholmod_template.h
)
set (CHOLMOD_SRCS
CHOLMOD/Check/cholmod_check.c
CHOLMOD/Check/cholmod_read.c
CHOLMOD/Check/cholmod_write.c
CHOLMOD/Cholesky/cholmod_amd.c
CHOLMOD/Cholesky/cholmod_analyze.c
CHOLMOD/Cholesky/cholmod_colamd.c
CHOLMOD/Cholesky/cholmod_etree.c
CHOLMOD/Cholesky/cholmod_factorize.c
CHOLMOD/Cholesky/cholmod_postorder.c
CHOLMOD/Cholesky/cholmod_rcond.c
CHOLMOD/Cholesky/cholmod_resymbol.c
CHOLMOD/Cholesky/cholmod_rowcolcounts.c
CHOLMOD/Cholesky/cholmod_rowfac.c
CHOLMOD/Cholesky/cholmod_solve.c
CHOLMOD/Cholesky/cholmod_spsolve.c
#CHOLMOD/Cholesky/t_cholmod_lsolve.c
#CHOLMOD/Cholesky/t_cholmod_ltsolve.c
#CHOLMOD/Cholesky/t_cholmod_rowfac.c
#CHOLMOD/Cholesky/t_cholmod_solve.c
CHOLMOD/Core/cholmod_aat.c
CHOLMOD/Core/cholmod_add.c
CHOLMOD/Core/cholmod_band.c
CHOLMOD/Core/cholmod_change_factor.c
CHOLMOD/Core/cholmod_common.c
CHOLMOD/Core/cholmod_complex.c
CHOLMOD/Core/cholmod_copy.c
CHOLMOD/Core/cholmod_dense.c
CHOLMOD/Core/cholmod_error.c
CHOLMOD/Core/cholmod_factor.c
CHOLMOD/Core/cholmod_memory.c
CHOLMOD/Core/cholmod_sparse.c
CHOLMOD/Core/cholmod_transpose.c
CHOLMOD/Core/cholmod_triplet.c
CHOLMOD/Core/cholmod_version.c
#CHOLMOD/Core/t_cholmod_change_factor.c
#CHOLMOD/Core/t_cholmod_dense.c
#CHOLMOD/Core/t_cholmod_transpose.c
#CHOLMOD/Core/t_cholmod_triplet.c
#CHOLMOD/Demo/cholmod_demo.c
#CHOLMOD/Demo/cholmod_l_demo.c
#CHOLMOD/Demo/cholmod_simple.c
#CHOLMOD/GPU/cholmod_gpu.c
#CHOLMOD/GPU/cholmod_gpu_kernels.c
CHOLMOD/MatrixOps/cholmod_drop.c
CHOLMOD/MatrixOps/cholmod_horzcat.c
CHOLMOD/MatrixOps/cholmod_norm.c
CHOLMOD/MatrixOps/cholmod_scale.c
CHOLMOD/MatrixOps/cholmod_sdmult.c
CHOLMOD/MatrixOps/cholmod_ssmult.c
CHOLMOD/MatrixOps/cholmod_submatrix.c
CHOLMOD/MatrixOps/cholmod_symmetry.c
CHOLMOD/MatrixOps/cholmod_vertcat.c
#CHOLMOD/MatrixOps/t_cholmod_sdmult.c
CHOLMOD/Modify/cholmod_rowadd.c
CHOLMOD/Modify/cholmod_rowdel.c
CHOLMOD/Modify/cholmod_updown.c
#CHOLMOD/Modify/t_cholmod_updown.c
#CHOLMOD/Modify/t_cholmod_updown_numkr.c
CHOLMOD/Partition/cholmod_camd.c
CHOLMOD/Partition/cholmod_ccolamd.c
CHOLMOD/Partition/cholmod_csymamd.c
CHOLMOD/Partition/cholmod_metis.c
CHOLMOD/Partition/cholmod_nesdis.c
CHOLMOD/Supernodal/cholmod_super_numeric.c
CHOLMOD/Supernodal/cholmod_super_solve.c
CHOLMOD/Supernodal/cholmod_super_symbolic.c
#CHOLMOD/Supernodal/t_cholmod_super_numeric.c
#CHOLMOD/Supernodal/t_cholmod_super_solve.c
)
if (NOT METIS_FOUND)
set_property (SOURCE
CHOLMOD/Check/cholmod_check.c
CHOLMOD/Partition/cholmod_camd.c
CHOLMOD/Partition/cholmod_ccolamd.c
CHOLMOD/Partition/cholmod_csymamd.c
CHOLMOD/Partition/cholmod_m.c
CHOLMOD/Partition/cholmod_metis.c
CHOLMOD/Partition/cholmod_nesdis.c
APPEND PROPERTY COMPILE_DEFINITIONS NPARTITION)
endif (NOT METIS_FOUND)
configure_file (CHOLMOD/Include/cholmod_config.h.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/CHOLMOD/Include/cholmod_config.h)
endif (WITH_CHOLMOD)
set (CCOLAMD_HDRS
CCOLAMD/Include/ccolamd.h
)
set (CCOLAMD_SRCS
CCOLAMD/Source/ccolamd.c
)
set (COLAMD_HDRS
COLAMD/Include/colamd.h
)
set (COLAMD_SRCS
COLAMD/Source/colamd.c
)
set (UMFPACK_HDRS
UMFPACK/Include/umfpack.h
UMFPACK/Include/umfpack_col_to_triplet.h
UMFPACK/Include/umfpack_defaults.h
UMFPACK/Include/umfpack_free_numeric.h
UMFPACK/Include/umfpack_free_symbolic.h
UMFPACK/Include/umfpack_get_determinant.h
UMFPACK/Include/umfpack_get_lunz.h
UMFPACK/Include/umfpack_get_numeric.h
UMFPACK/Include/umfpack_get_symbolic.h
UMFPACK/Include/umfpack_global.h
UMFPACK/Include/umfpack_load_numeric.h
UMFPACK/Include/umfpack_load_symbolic.h
UMFPACK/Include/umfpack_numeric.h
UMFPACK/Include/umfpack_qsymbolic.h
UMFPACK/Include/umfpack_report_control.h
UMFPACK/Include/umfpack_report_info.h
UMFPACK/Include/umfpack_report_matrix.h
UMFPACK/Include/umfpack_report_numeric.h
UMFPACK/Include/umfpack_report_perm.h
UMFPACK/Include/umfpack_report_status.h
UMFPACK/Include/umfpack_report_symbolic.h
UMFPACK/Include/umfpack_report_triplet.h
UMFPACK/Include/umfpack_report_vector.h
UMFPACK/Include/umfpack_save_numeric.h
UMFPACK/Include/umfpack_save_symbolic.h
UMFPACK/Include/umfpack_scale.h
UMFPACK/Include/umfpack_solve.h
UMFPACK/Include/umfpack_symbolic.h
UMFPACK/Include/umfpack_tictoc.h
UMFPACK/Include/umfpack_timer.h
UMFPACK/Include/umfpack_transpose.h
UMFPACK/Include/umfpack_triplet_to_col.h
UMFPACK/Include/umfpack_wsolve.h
)
set (UMFPACK_INT_SRCS
UMFPACK/Source/umf_analyze.c
UMFPACK/Source/umf_apply_order.c
UMFPACK/Source/umf_assemble.c
UMFPACK/Source/umf_blas3_update.c
UMFPACK/Source/umf_build_tuples.c
UMFPACK/Source/umf_cholmod.c
UMFPACK/Source/umf_colamd.c
UMFPACK/Source/umf_create_element.c
UMFPACK/Source/umf_dump.c
UMFPACK/Source/umf_extend_front.c
UMFPACK/Source/umf_free.c
UMFPACK/Source/umf_fsize.c
UMFPACK/Source/umf_garbage_collection.c
UMFPACK/Source/umf_get_memory.c
UMFPACK/Source/umf_grow_front.c
UMFPACK/Source/umf_init_front.c
UMFPACK/Source/umf_is_permutation.c
UMFPACK/Source/umf_kernel.c
UMFPACK/Source/umf_kernel_init.c
UMFPACK/Source/umf_kernel_wrapup.c
UMFPACK/Source/umf_local_search.c
UMFPACK/Source/umf_lsolve.c
UMFPACK/Source/umf_ltsolve.c
UMFPACK/Source/umf_malloc.c
UMFPACK/Source/umf_mem_alloc_element.c
UMFPACK/Source/umf_mem_alloc_head_block.c
UMFPACK/Source/umf_mem_alloc_tail_block.c
UMFPACK/Source/umf_mem_free_tail_block.c
UMFPACK/Source/umf_mem_init_memoryspace.c
UMFPACK/Source/umf_realloc.c
UMFPACK/Source/umf_report_perm.c
UMFPACK/Source/umf_report_vector.c
UMFPACK/Source/umf_row_search.c
UMFPACK/Source/umf_scale.c
UMFPACK/Source/umf_scale_column.c
UMFPACK/Source/umf_set_stats.c
UMFPACK/Source/umf_singletons.c
UMFPACK/Source/umf_solve.c
UMFPACK/Source/umf_start_front.c
UMFPACK/Source/umf_store_lu.c
UMFPACK/Source/umf_symbolic_usage.c
UMFPACK/Source/umf_transpose.c
UMFPACK/Source/umf_triplet.c
UMFPACK/Source/umf_tuple_lengths.c
UMFPACK/Source/umf_usolve.c
UMFPACK/Source/umf_utsolve.c
UMFPACK/Source/umf_valid_numeric.c
UMFPACK/Source/umf_valid_symbolic.c
UMFPACK/Source/umfpack_col_to_triplet.c
UMFPACK/Source/umfpack_defaults.c
UMFPACK/Source/umfpack_free_numeric.c
UMFPACK/Source/umfpack_free_symbolic.c
UMFPACK/Source/umfpack_get_determinant.c
UMFPACK/Source/umfpack_get_lunz.c
UMFPACK/Source/umfpack_get_numeric.c
UMFPACK/Source/umfpack_get_symbolic.c
UMFPACK/Source/umfpack_load_numeric.c
UMFPACK/Source/umfpack_load_symbolic.c
UMFPACK/Source/umfpack_numeric.c
UMFPACK/Source/umfpack_qsymbolic.c
UMFPACK/Source/umfpack_report_control.c
UMFPACK/Source/umfpack_report_info.c
UMFPACK/Source/umfpack_report_matrix.c
UMFPACK/Source/umfpack_report_numeric.c
UMFPACK/Source/umfpack_report_perm.c
UMFPACK/Source/umfpack_report_status.c
UMFPACK/Source/umfpack_report_symbolic.c
UMFPACK/Source/umfpack_report_triplet.c
UMFPACK/Source/umfpack_report_vector.c
UMFPACK/Source/umfpack_save_numeric.c
UMFPACK/Source/umfpack_save_symbolic.c
UMFPACK/Source/umfpack_scale.c
UMFPACK/Source/umfpack_solve.c
UMFPACK/Source/umfpack_symbolic.c
UMFPACK/Source/umfpack_transpose.c
UMFPACK/Source/umfpack_triplet_to_col.c
)
set (UMFPACK_ZINT_SRCS
#UMFPACK/Source/umf_apply_order.c
UMFPACK/Source/umf_assemble.c
UMFPACK/Source/umf_blas3_update.c
UMFPACK/Source/umf_build_tuples.c
#UMFPACK/Source/umf_cholmod.c
#UMFPACK/Source/umf_colamd.c
UMFPACK/Source/umf_create_element.c
UMFPACK/Source/umf_dump.c
UMFPACK/Source/umf_extend_front.c
#UMFPACK/Source/umf_free.c
#UMFPACK/Source/umf_fsize.c
UMFPACK/Source/umf_garbage_collection.c
UMFPACK/Source/umf_get_memory.c
UMFPACK/Source/umf_grow_front.c
UMFPACK/Source/umf_init_front.c
#UMFPACK/Source/umf_is_permutation.c
UMFPACK/Source/umf_kernel.c
UMFPACK/Source/umf_kernel_init.c
UMFPACK/Source/umf_kernel_wrapup.c
UMFPACK/Source/umf_local_search.c
UMFPACK/Source/umf_lsolve.c
UMFPACK/Source/umf_ltsolve.c
#UMFPACK/Source/umf_malloc.c
UMFPACK/Source/umf_mem_alloc_element.c
UMFPACK/Source/umf_mem_alloc_head_block.c
UMFPACK/Source/umf_mem_alloc_tail_block.c
UMFPACK/Source/umf_mem_free_tail_block.c
UMFPACK/Source/umf_mem_init_memoryspace.c
#UMFPACK/Source/umf_realloc.c
#UMFPACK/Source/umf_report_perm.c
UMFPACK/Source/umf_report_vector.c
UMFPACK/Source/umf_row_search.c
UMFPACK/Source/umf_scale.c
UMFPACK/Source/umf_scale_column.c
UMFPACK/Source/umf_set_stats.c
#UMFPACK/Source/umf_singletons.c
UMFPACK/Source/umf_solve.c
UMFPACK/Source/umf_start_front.c
UMFPACK/Source/umf_store_lu.c
UMFPACK/Source/umf_symbolic_usage.c
UMFPACK/Source/umf_transpose.c
UMFPACK/Source/umf_triplet.c
UMFPACK/Source/umf_tuple_lengths.c
UMFPACK/Source/umf_usolve.c
UMFPACK/Source/umf_utsolve.c
UMFPACK/Source/umf_valid_numeric.c
UMFPACK/Source/umf_valid_symbolic.c
UMFPACK/Source/umfpack_col_to_triplet.c
UMFPACK/Source/umfpack_defaults.c
UMFPACK/Source/umfpack_free_numeric.c
UMFPACK/Source/umfpack_free_symbolic.c
UMFPACK/Source/umfpack_get_determinant.c
UMFPACK/Source/umfpack_get_lunz.c
UMFPACK/Source/umfpack_get_numeric.c
UMFPACK/Source/umfpack_get_symbolic.c
UMFPACK/Source/umfpack_load_numeric.c
UMFPACK/Source/umfpack_load_symbolic.c
UMFPACK/Source/umfpack_numeric.c
UMFPACK/Source/umfpack_qsymbolic.c
UMFPACK/Source/umfpack_report_control.c
UMFPACK/Source/umfpack_report_info.c
UMFPACK/Source/umfpack_report_matrix.c
UMFPACK/Source/umfpack_report_numeric.c
UMFPACK/Source/umfpack_report_perm.c
UMFPACK/Source/umfpack_report_status.c
UMFPACK/Source/umfpack_report_symbolic.c
UMFPACK/Source/umfpack_report_triplet.c
UMFPACK/Source/umfpack_report_vector.c
UMFPACK/Source/umfpack_save_numeric.c
UMFPACK/Source/umfpack_save_symbolic.c
UMFPACK/Source/umfpack_scale.c
UMFPACK/Source/umfpack_solve.c
UMFPACK/Source/umfpack_symbolic.c
UMFPACK/Source/umfpack_transpose.c
UMFPACK/Source/umfpack_triplet_to_col.c
)
set (KLU_HDRS
KLU/Include/klu.h
KLU/Include/klu_internal.h
KLU/Include/klu_version.h
)
set (KLU_SRCS
KLU/Source/klu.c
KLU/Source/klu_diagnostics.c
KLU/Source/klu_dump.c
KLU/Source/klu_extract.c
KLU/Source/klu_factor.c
KLU/Source/klu_free_numeric.c
KLU/Source/klu_kernel.c
KLU/Source/klu_refactor.c
KLU/Source/klu_scale.c
KLU/Source/klu_solve.c
KLU/Source/klu_sort.c
KLU/Source/klu_tsolve.c
)
set (KLU
KLU/Include/klu.h
KLU/Include/klu_version.h
)
set (LDL_HDRS
LDL/Include/ldl.h
)
set (LDL_SRCS
LDL/Source/ldl.c
)
set (GPURUNTIME_HDRS
SuiteSparse_GPURuntime/Include/SuiteSparseGPU_Runtime.hpp
SuiteSparse_GPURuntime/Include/SuiteSparseGPU_Workspace.hpp
SuiteSparse_GPURuntime/Include/SuiteSparseGPU_debug.hpp
SuiteSparse_GPURuntime/Include/SuiteSparseGPU_macros.hpp
SuiteSparse_GPURuntime/Include/SuiteSparseGPU_workspace_macros.hpp
)
set (GPUQRENGINE_HDRS
GPUQREngine/Include/GPUQREngine.hpp
GPUQREngine/Include/GPUQREngine_BucketList.hpp
GPUQREngine/Include/GPUQREngine_Common.hpp
GPUQREngine/Include/GPUQREngine_Front.hpp
GPUQREngine/Include/GPUQREngine_FrontState.hpp
GPUQREngine/Include/GPUQREngine_GraphVizHelper.hpp
GPUQREngine/Include/GPUQREngine_Internal.hpp
GPUQREngine/Include/GPUQREngine_LLBundle.hpp
GPUQREngine/Include/GPUQREngine_Scheduler.hpp
GPUQREngine/Include/GPUQREngine_SEntry.hpp
GPUQREngine/Include/GPUQREngine_SparseMeta.hpp
GPUQREngine/Include/GPUQREngine_Stats.hpp
GPUQREngine/Include/GPUQREngine_TaskDescriptor.hpp
GPUQREngine/Include/GPUQREngine_Timing.hpp
)
if (MSVC)
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
endif (MSVC)
# output directory for binaries
set (OUTPUT_DIR ${CMAKE_BINARY_DIR})
# put binaries in a single directory
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR})
set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${OUTPUT_DIR})
add_library (amd_int OBJECT ${AMD_SRCS})
target_include_directories (amd_int PRIVATE $<TARGET_PROPERTY:amd,INCLUDE_DIRECTORIES>)
target_compile_definitions (amd_int PRIVATE DINT)
target_compile_definitions (amd_int PRIVATE amd_EXPORTS)
add_library (amd_long OBJECT ${AMD_SRCS})
target_include_directories (amd_long PRIVATE $<TARGET_PROPERTY:amd,INCLUDE_DIRECTORIES>)
target_compile_definitions (amd_long PRIVATE DLONG)
target_compile_definitions (amd_long PRIVATE amd_EXPORTS)
add_library (amd
$<TARGET_OBJECTS:amd_int>
$<TARGET_OBJECTS:amd_long>
${AMD_HDRS}
)
add_library (SuiteSparse::AMD ALIAS amd)
add_library (btf_int OBJECT ${BTF_SRCS})
target_include_directories (btf_int PRIVATE $<TARGET_PROPERTY:btf,INCLUDE_DIRECTORIES>)
target_compile_definitions (btf_int PRIVATE DINT)
target_compile_definitions (btf_int PRIVATE btf_EXPORTS)
add_library (btf_long OBJECT ${BTF_SRCS})
target_include_directories (btf_long PRIVATE $<TARGET_PROPERTY:btf,INCLUDE_DIRECTORIES>)
target_compile_definitions (btf_long PRIVATE DLONG)
target_compile_definitions (btf_long PRIVATE btf_EXPORTS)
add_library (btf
$<TARGET_OBJECTS:btf_int>
$<TARGET_OBJECTS:btf_long>
${BTF_HDRS}
)
add_library (SuiteSparse::BTF ALIAS btf)
target_include_directories (btf PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/BTF/Include>
)
add_library (camd_int OBJECT ${CAMD_SRCS})
target_include_directories (camd_int PRIVATE $<TARGET_PROPERTY:camd,INCLUDE_DIRECTORIES>)
target_compile_definitions (camd_int PRIVATE DINT)
target_compile_definitions (camd_int PRIVATE camd_EXPORTS)
add_library (camd_long OBJECT ${CAMD_SRCS})
target_include_directories (camd_long PRIVATE $<TARGET_PROPERTY:camd,INCLUDE_DIRECTORIES>)
target_compile_definitions (camd_long PRIVATE DLONG)
target_compile_definitions (camd_long PRIVATE camd_EXPORTS)
add_library (camd
$<TARGET_OBJECTS:camd_int>
$<TARGET_OBJECTS:camd_long>
${CAMD_HDRS}
)
add_library (SuiteSparse::CAMD ALIAS camd)
if (WITH_CHOLMOD)
add_library (cholmod_int OBJECT ${CHOLMOD_SRCS})
target_include_directories (cholmod_int PRIVATE $<TARGET_PROPERTY:cholmod,INCLUDE_DIRECTORIES>)
target_compile_definitions (cholmod_int PRIVATE DINT)
target_compile_definitions (cholmod_int PRIVATE cholmod_EXPORTS)
add_library (cholmod_long OBJECT ${CHOLMOD_SRCS})
target_include_directories (cholmod_long PRIVATE $<TARGET_PROPERTY:cholmod,INCLUDE_DIRECTORIES>)
target_compile_definitions (cholmod_long PRIVATE DLONG)
target_compile_definitions (cholmod_long PRIVATE cholmod_EXPORTS)
add_library (cholmod
$<TARGET_OBJECTS:cholmod_int>
$<TARGET_OBJECTS:cholmod_long>
${CHOLMOD_HDRS}
)
if (METIS_FOUND)
set (_METIS_IN ${SuiteSparse_SOURCE_DIR}/cmake/FindMETIS.cmake)
set (_METIS_OUT ${SuiteSparse_BINARY_DIR}/FindMETIS.cmake)
add_custom_command (
OUTPUT ${_METIS_OUT}
COMMAND ${CMAKE_COMMAND} -E create_symlink ${_METIS_IN} ${_METIS_OUT}
DEPENDS ${_METIS_IN}
COMMENT "Creating FindMETIS.cmake symlink in build directory"
)
target_sources (cholmod PRIVATE ${_METIS_OUT})
endif (METIS_FOUND)
add_library (SuiteSparse::CHOLMOD ALIAS cholmod)
target_include_directories (cholmod PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/CHOLMOD/Include>
)
if (OpenMP_FOUND)
target_compile_definitions (cholmod PRIVATE HAVE_OPENMP)
target_link_libraries (cholmod PRIVATE
$<$<LINK_LANGUAGE:C>:OpenMP::OpenMP_C>
$<$<LINK_LANGUAGE:CXX>:OpenMP::OpenMP_CXX>
)
set (OpenMP_DEPENDENCY "find_dependency (OpenMP ${OpenMP_C_VERSION})")
endif (OpenMP_FOUND)
if (HAVE_FEENABLEEXCEPT)
target_compile_definitions (cholmod PRIVATE _GNU_SOURCE)
endif (HAVE_FEENABLEEXCEPT)
if (METIS_FOUND)
target_link_libraries (cholmod PRIVATE METIS::METIS)
add_library (cholmod_partition INTERFACE)
add_library (SuiteSparse::Partition ALIAS cholmod_partition)
target_link_libraries (cholmod_partition INTERFACE cholmod)
set (METIS_DEPENDENCY "find_dependency (METIS ${METIS_VERSION})")
endif (METIS_FOUND)
target_link_libraries (cholmod
PRIVATE BLAS::BLAS
LAPACK::LAPACK
SuiteSparse::AMD
SuiteSparse::CAMD
SuiteSparse::CCOLAMD
SuiteSparse::COLAMD
PUBLIC SuiteSparse::Config
)
endif (WITH_CHOLMOD)
add_library (ccolamd_int OBJECT ${CCOLAMD_SRCS})
target_include_directories (ccolamd_int PRIVATE $<TARGET_PROPERTY:ccolamd,INCLUDE_DIRECTORIES>)
target_compile_definitions (ccolamd_int PRIVATE DINT)
target_compile_definitions (ccolamd_int PRIVATE ccolamd_EXPORTS)
add_library (ccolamd_long OBJECT ${CCOLAMD_SRCS})
target_include_directories (ccolamd_long PRIVATE $<TARGET_PROPERTY:ccolamd,INCLUDE_DIRECTORIES>)
target_compile_definitions (ccolamd_long PRIVATE DLONG)
target_compile_definitions (ccolamd_long PRIVATE ccolamd_EXPORTS)
add_library (ccolamd
$<TARGET_OBJECTS:ccolamd_int>
$<TARGET_OBJECTS:ccolamd_long>
${CCOLAMD_HDRS}
)
add_library (SuiteSparse::CCOLAMD ALIAS ccolamd)
add_library (colamd_int OBJECT ${COLAMD_SRCS})
target_include_directories (colamd_int PRIVATE $<TARGET_PROPERTY:colamd,INCLUDE_DIRECTORIES>)
target_compile_definitions (colamd_int PRIVATE DINT)
target_compile_definitions (colamd_int PRIVATE colamd_EXPORTS)
add_library (colamd_long OBJECT ${COLAMD_SRCS})
target_include_directories (colamd_long PRIVATE $<TARGET_PROPERTY:colamd,INCLUDE_DIRECTORIES>)
target_compile_definitions (colamd_long PRIVATE DLONG)
target_compile_definitions (colamd_long PRIVATE colamd_EXPORTS)
add_library (colamd
$<TARGET_OBJECTS:colamd_int>
$<TARGET_OBJECTS:colamd_long>
${COLAMD_HDRS}
)
add_library (SuiteSparse::COLAMD ALIAS colamd)
if (WITH_SUPERNODAL)
set (SPQR_HDRS
SPQR/Include/SuiteSparseQR.hpp
SPQR/Include/SuiteSparseQR_C.h
SPQR/Include/SuiteSparseQR_definitions.h
)
add_library (spqr
${SPQR_HDRS}
SPQR/Source/spqr_1colamd.cpp
SPQR/Source/spqr_1factor.cpp
SPQR/Source/spqr_1fixed.cpp
SPQR/Source/spqr_analyze.cpp
SPQR/Source/spqr_append.cpp
SPQR/Source/spqr_assemble.cpp
SPQR/Source/spqr_cpack.cpp
SPQR/Source/spqr_csize.cpp
SPQR/Source/spqr_cumsum.cpp
SPQR/Source/spqr_debug.cpp
SPQR/Source/spqr_factorize.cpp
SPQR/Source/spqr_fcsize.cpp
SPQR/Source/spqr_freefac.cpp
SPQR/Source/spqr_freenum.cpp
SPQR/Source/spqr_freesym.cpp
SPQR/Source/spqr_front.cpp
SPQR/Source/spqr_fsize.cpp
SPQR/Source/spqr_happly.cpp
SPQR/Source/spqr_happly_work.cpp
SPQR/Source/spqr_hpinv.cpp
SPQR/Source/spqr_kernel.cpp
SPQR/Source/spqr_larftb.cpp
SPQR/Source/spqr_maxcolnorm.cpp
SPQR/Source/spqr_panel.cpp
SPQR/Source/spqr_parallel.cpp
SPQR/Source/spqr_rconvert.cpp
SPQR/Source/spqr_rcount.cpp
SPQR/Source/spqr_rhpack.cpp
SPQR/Source/spqr_rmap.cpp
SPQR/Source/spqr_rsolve.cpp
SPQR/Source/spqr_shift.cpp
SPQR/Source/spqr_stranspose1.cpp
SPQR/Source/spqr_stranspose2.cpp
SPQR/Source/spqr_tol.cpp
SPQR/Source/spqr_trapezoidal.cpp
SPQR/Source/spqr_type.cpp
SPQR/Source/SuiteSparseQR.cpp
SPQR/Source/SuiteSparseQR_C.cpp
SPQR/Source/SuiteSparseQR_expert.cpp
SPQR/Source/SuiteSparseQR_qmult.cpp
)
add_library (SuiteSparse::SPQR ALIAS spqr)
if (WITH_CUDA AND CMAKE_CUDA_COMPILER_LOADED)
target_sources (spqr PRIVATE
SPQR/SPQRGPU/spqrgpu_buildAssemblyMaps.cpp
SPQR/SPQRGPU/spqrgpu_computeFrontStaging.cpp
SPQR/SPQRGPU/spqrgpu_kernel.cpp
)
target_link_libraries (spqr PRIVATE SuiteSparse::GPURuntime)
endif (WITH_CUDA AND CMAKE_CUDA_COMPILER_LOADED)
if (TBB_FOUND)
target_link_libraries (spqr PRIVATE TBB::tbb)
target_compile_definitions (spqr PRIVATE HAVE_TBB)
set (TBB_DEPENDENCY "find_dependency (TBB ${TBB_VERSION})")
endif (TBB_FOUND)
endif (WITH_SUPERNODAL)
add_library (suitesparseconfig
$<TARGET_OBJECTS:suitesparsebase>
)
add_library (SuiteSparse::Config ALIAS suitesparseconfig)
add_library (umfpack_int OBJECT ${UMFPACK_INT_SRCS})
target_include_directories (umfpack_int PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int PRIVATE DINT)
target_compile_definitions (umfpack_int PRIVATE umfpack_EXPORTS)
add_library (umfpack_long OBJECT ${UMFPACK_INT_SRCS})
target_include_directories (umfpack_long PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long PRIVATE DLONG)
target_compile_definitions (umfpack_long PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint OBJECT ${UMFPACK_ZINT_SRCS})
target_include_directories (umfpack_zint PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint PRIVATE ZINT)
target_compile_definitions (umfpack_zint PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong OBJECT ${UMFPACK_ZINT_SRCS})
target_include_directories (umfpack_zlong PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zlong PRIVATE ZLONG)
target_compile_definitions (umfpack_zlong PRIVATE umfpack_EXPORTS)
set (UMFPACK_SOLVE_SRCS
UMFPACK/Source/umf_ltsolve.c
UMFPACK/Source/umf_utsolve.c
)
add_library (umfpack_int_solve OBJECT ${UMFPACK_SOLVE_SRCS})
target_include_directories (umfpack_int_solve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int_solve PRIVATE DINT CONJUGATE_SOLVE)
target_compile_definitions (umfpack_int_solve PRIVATE umfpack_EXPORTS)
add_library (umfpack_long_solve OBJECT ${UMFPACK_SOLVE_SRCS})
target_include_directories (umfpack_long_solve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long_solve PRIVATE DLONG CONJUGATE_SOLVE)
target_compile_definitions (umfpack_long_solve PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint_solve OBJECT ${UMFPACK_SOLVE_SRCS})
target_include_directories (umfpack_zint_solve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint_solve PRIVATE ZINT CONJUGATE_SOLVE)
target_compile_definitions (umfpack_zint_solve PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong_solve OBJECT ${UMFPACK_SOLVE_SRCS})
target_include_directories (umfpack_zlong_solve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zlong_solve PRIVATE ZLONG CONJUGATE_SOLVE)
target_compile_definitions (umfpack_zlong_solve PRIVATE umfpack_EXPORTS)
add_library (umfpack_int_wsolve OBJECT UMFPACK/Source/umfpack_solve.c)
target_include_directories (umfpack_int_wsolve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int_wsolve PRIVATE DINT WSOLVE)
target_compile_definitions (umfpack_int_wsolve PRIVATE umfpack_EXPORTS)
add_library (umfpack_long_wsolve OBJECT UMFPACK/Source/umfpack_solve.c)
target_include_directories (umfpack_long_wsolve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long_wsolve PRIVATE DLONG WSOLVE)
target_compile_definitions (umfpack_long_wsolve PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint_wsolve OBJECT UMFPACK/Source/umfpack_solve.c)
target_include_directories (umfpack_zint_wsolve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint_wsolve PRIVATE ZINT WSOLVE)
target_compile_definitions (umfpack_zint_wsolve PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong_wsolve OBJECT UMFPACK/Source/umfpack_solve.c)
target_include_directories (umfpack_zlong_wsolve PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zlong_wsolve PRIVATE ZLONG WSOLVE)
target_compile_definitions (umfpack_zlong_wsolve PRIVATE umfpack_EXPORTS)
add_library (umfpack_int_fixq OBJECT UMFPACK/Source/umf_assemble.c)
target_include_directories (umfpack_int_fixq PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int_fixq PRIVATE DINT FIXQ)
target_compile_definitions (umfpack_int_fixq PRIVATE umfpack_EXPORTS)
add_library (umfpack_long_fixq OBJECT UMFPACK/Source/umf_assemble.c)
target_include_directories (umfpack_long_fixq PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long_fixq PRIVATE DLONG FIXQ)
target_compile_definitions (umfpack_long_fixq PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint_fixq OBJECT UMFPACK/Source/umf_assemble.c)
target_include_directories (umfpack_zint_fixq PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint_fixq PRIVATE ZINT FIXQ)
target_compile_definitions (umfpack_zint_fixq PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong_fixq OBJECT UMFPACK/Source/umf_assemble.c)
target_include_directories (umfpack_zlong_fixq PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zlong_fixq PRIVATE ZLONG FIXQ)
target_compile_definitions (umfpack_zlong_fixq PRIVATE umfpack_EXPORTS)
add_library (umfpack_int_drop OBJECT UMFPACK/Source/umf_store_lu.c)
target_include_directories (umfpack_int_drop PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int_drop PRIVATE DINT DROP)
target_compile_definitions (umfpack_int_drop PRIVATE umfpack_EXPORTS)
add_library (umfpack_long_drop OBJECT UMFPACK/Source/umf_store_lu.c)
target_include_directories (umfpack_long_drop PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long_drop PRIVATE DLONG DROP)
target_compile_definitions (umfpack_long_drop PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint_drop OBJECT UMFPACK/Source/umf_store_lu.c)
target_include_directories (umfpack_zint_drop PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint_drop PRIVATE ZINT DROP)
target_compile_definitions (umfpack_zint_drop PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong_drop OBJECT UMFPACK/Source/umf_store_lu.c)
target_include_directories (umfpack_zlong_drop PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zlong_drop PRIVATE ZLONG DROP)
target_compile_definitions (umfpack_zlong_drop PRIVATE umfpack_EXPORTS)
add_library (umfpack_int_map_nox OBJECT UMFPACK/Source/umf_triplet.c)
target_include_directories (umfpack_int_map_nox PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_int_map_nox PRIVATE DINT DO_MAP)
target_compile_definitions (umfpack_int_map_nox PRIVATE umfpack_EXPORTS)
add_library (umfpack_long_map_nox OBJECT UMFPACK/Source/umf_triplet.c)
target_include_directories (umfpack_long_map_nox PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_long_map_nox PRIVATE DLONG DO_MAP)
target_compile_definitions (umfpack_long_map_nox PRIVATE umfpack_EXPORTS)
add_library (umfpack_zint_map_nox OBJECT UMFPACK/Source/umf_triplet.c)
target_include_directories (umfpack_zint_map_nox PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)
target_compile_definitions (umfpack_zint_map_nox PRIVATE ZINT DO_MAP)
target_compile_definitions (umfpack_zint_map_nox PRIVATE umfpack_EXPORTS)
add_library (umfpack_zlong_map_nox OBJECT UMFPACK/Source/umf_triplet.c)
target_include_directories (umfpack_zlong_map_nox PRIVATE $<TARGET_PROPERTY:umfpack,INCLUDE_DIRECTORIES>)