-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfigure.ac
1001 lines (912 loc) · 33.5 KB
/
configure.ac
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
dnl
dnl Configure for MPLAPACK
dnl
m4_define([MPLAPACK_VER_MAJOR], [2])
m4_define([MPLAPACK_VER_MINOR], [0])
m4_define([MPLAPACK_VER_PATCH], [1])
m4_define([MPLAPACK_VERSION], [MPLAPACK_VER_MAJOR.MPLAPACK_VER_MINOR.MPLAPACK_VER_PATCH])
AC_INIT(mplapack, [MPLAPACK_VERSION])
AC_SUBST([PACKAGE_DESCRIPTION], "A multiple precision version of BLAS and LAPACK")
AC_CONFIG_HEADER(include/config.h)
LAPACK_VER_MAJOR="3"
LAPACK_VER_MINOR="12"
LAPACK_VER_PATCH="0"
LAPACK_VERSION=${LAPACK_VER_MAJOR}.${LAPACK_VER_MINOR}.${LAPACK_VER_PATCH}
AC_SUBST(LAPACK_VERSION)
sed -e "s/%%mplapack_ver_major%%/MPLAPACK_VER_MAJOR/g" \
-e "s/%%mplapack_ver_minor%%/MPLAPACK_VER_MINOR/g" \
-e "s/%%mplapack_ver_patch%%/MPLAPACK_VER_PATCH/g" \
-e "s/%%lapack_ver_major%%/$LAPACK_VER_MAJOR/g" \
-e "s/%%lapack_ver_minor%%/$LAPACK_VER_MINOR/g" \
-e "s/%%lapack_ver_patch%%/$LAPACK_VER_PATCH/g" \
mplapack/reference/iMlaver.cpp.in > mplapack/reference/iMlaver.cpp
AC_CONFIG_FILES([ Makefile mplapack.pc ])
AC_CONFIG_FILES([packaging/PKGBUILD packaging/mplapack.spec])
AC_CANONICAL_TARGET
LT_INIT([win32-dll])
: ${CFLAGS=""}
: ${CXXFLAGS=""}
: ${FCFLAGS=""}
AC_PROG_CC
IS_INTELCC=0
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#if !defined __INTEL_COMPILER
#error
#endif
#include <stdio.h>
int main() {
return 0;
}
]])
], [is_intelcc=1])
AM_CONDITIONAL(IS_INTELCC, test x$is_intelcc = x1)
if test x"$is_intelcc" = x"1"; then
AC_MSG_RESULT([Intel One API (icc) detected])
fi
AC_PROG_CXX
IS_INTELCXX=0
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#if !defined __INTEL_COMPILER
#error
#endif
#include <stdio.h>
int main() {
return 0;
}
]])
], [is_intelcxx=1])
AM_CONDITIONAL(IS_INTELCXX, test x$is_intelcxx = x1)
if test x"$is_intelcxx" = x"1"; then
AC_MSG_RESULT([Intel One API (icpc) detected])
fi
AC_PROG_LIBTOOL
AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_MACRO_DIR([m4])
dnl OpenMP Compiler flags.
AC_LANG([C++])
AC_OPENMP
dnl Checking host name
AC_CANONICAL_HOST
IS_MINGW=0
case "$host" in
*-mingw32*)
IS_MINGW=1
;;
*)
esac
AM_CONDITIONAL(IS_MINGW, test x$IS_MINGW = x1)
IS_MACOS=0
case "$host" in
*apple-darwin*)
IS_MACOS=1
;;
*)
esac
AM_CONDITIONAL(IS_MACOS, test x$IS_MACOS = x1)
if test x$IS_MACOS = x"1"; then
INSTALL="/usr/bin/install"
AC_SUBST(INSTALL)
fi
IS_LINUX=0
case "$host" in
*linux*)
IS_LINUX=1
;;
*)
esac
DYLD=
AM_CONDITIONAL(IS_LINUX, test x$IS_LINUX = x1)
if test x"$IS_LINUX" = x"1"; then
DYLD=-ldl
fi
AC_SUBST(DYLD)
dnl dummy for Intel Xeon Phi (aka MIC)
IS_MIC=0
AM_CONDITIONAL(IS_MIC, test x$IS_MIC = x1)
dnl enable debug; compare with reference LAPACK and BLAS.
dnl when enable this flag, we perform full build;
dnl all mp versions of mplapack and mpblas, etc.
AC_ARG_ENABLE(test,
[ --enable-test Enable test])
AM_CONDITIONAL(ENABLE_TEST, test x$enable_test = xyes)
dnl disable optimization and add more info to gdb.
AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug])
AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
AC_ARG_ENABLE(optimization,
AS_HELP_STRING([--enable-optimization], [Enable compiler level optimization]),
[case "${enableval}" in
yes) enable_optimization=yes ;;
no) enable_optimization=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-optimization) ;;
esac],[enable_optimization=yes])
AM_CONDITIONAL(ENABLE_OPTIMIZATION, test x$enable_optimization = xyes)
if test x"$enable_optimization" = x"yes" && test x"$enable_debug" = x"yes" ; then
AC_MSG_ERROR([you cannot set both enable-optimization=yes and enable-debug=yes])
fi
AC_ARG_ENABLE(cuda,
[ --enable-cuda Enable compiler level cuda])
AM_CONDITIONAL(ENABLE_CUDA, test x$enable_cuda = xyes)
AC_ARG_WITH(cudatoolkithome,
AS_HELP_STRING([--with-cudatoolkithome], [Specify path to CUDA Toolkit (default: /usr/local/cuda)]),
[ CUDATOOLKITHOME="$withval"],
[ CUDATOOLKITHOME=/usr/local/cuda]
)
ARCH=`uname -m`
SUFFIX="64"
#if test $ARCH = "x86_64"; then
# SUFFIX="64"
#else
# SUFFIX=""
#fi
CUDA_CFLAGS="-I$CUDATOOLKITHOME/include"
CUDA_LIBS="-L$CUDATOOLKITHOME/lib$SUFFIX"
CUDA_LDFLAGS="-L$CUDATOOLKITHOME/lib$SUFFIX"
NVCC="$CUDATOOLKITHOME/bin/nvcc"
IS_CUDA_VERSION_MAJOR_3="FALSE"
dnl we should write check part for CUDA toolkit
if test x$enable_cuda = x"yes"; then
CUDA_VERSION=`"$NVCC" --version | grep "Cuda compilation tools" | awk '{print $5}' | sed 's/,//g'`
CUDA_VERSION_MAJOR=`"$NVCC" --version | grep "Cuda compilation tools" | awk '{print $5}' | sed 's/,//g' | sed 's/\..$//g'`
AC_MSG_RESULT([CUDA version is $CUDA_VERSION])
AC_MSG_RESULT([CUDA major version is $CUDA_VERSION_MAJOR])
fi
AM_CONDITIONAL(IS_CUDA_VERSION_MAJOR_3, test x"$CUDA_VERSION_MAJOR" = x"3")
AC_SUBST(CUDATOOLKITHOME)
AC_SUBST(CUDA_LDFLAGS)
AC_SUBST(CUDA_CFLAGS)
AC_SUBST(CUDA_LIBS)
AC_SUBST(CUDA_VERSION)
AC_SUBST(CUDA_VERSION_MAJOR)
AC_SUBST(IS_CUDA_VERSION_MAJOR_3)
AC_SUBST(NVCC)
dnl enable benchmark; compare with reference LAPACK and BLAS, and OpenBLAS
AC_ARG_ENABLE(benchmark,
AS_HELP_STRING([--enable-benchmark], [Enable benchmark]))
AM_CONDITIONAL(ENABLE_BENCHMARK, test x$enable_benchmark = xyes)
dnl disable examples
AC_ARG_ENABLE(examples,
AS_HELP_STRING([--disable-examples], [Disable examples]))
AM_CONDITIONAL(DISABLE_EXAMPLES, test x$enable_examples = xno)
dnl disable reference
AC_ARG_ENABLE(reference,
AS_HELP_STRING([--disable-reference], [Build without reference libraries]))
AM_CONDITIONAL(DISABLE_REFERENCE, test x$enable_reference = xno)
dnl enable GMP version of MPLAPACK.
AC_ARG_ENABLE(gmp,
AS_HELP_STRING([--enable-gmp], [Enable GMP version]))
AM_CONDITIONAL(ENABLE_GMP, test x$enable_gmp = xyes)
dnl enable MPFR version of MPLAPACK.
AC_ARG_ENABLE(mpfr,
AS_HELP_STRING([--enable-mpfr], [Enable MPFR version]))
dnl We use MPFR version as reference
dnl so if test is turned on,
if test x$enable_test = x"yes"; then
enable_mpfr=yes
fi
AM_CONDITIONAL(ENABLE_MPFR, test x$enable_mpfr = xyes)
dnl enable QD version of MPLAPACK.
AC_ARG_ENABLE(qd,
AS_HELP_STRING([--enable-qd], [Enable QD version]))
AM_CONDITIONAL(ENABLE_QD, test x$enable_qd = xyes)
AC_ARG_WITH(qdlib-flags,
AS_HELP_STRING([--with-qdlib-flags], [passing flag to internal qd library])
,,with_qdlib_flags="")
QDLIB_FLAGS=$with_qdlib_flags;
AC_SUBST(QDLIB_FLAGS)
dnl enable DD version of MPLAPACK.
AC_ARG_ENABLE(dd,
AS_HELP_STRING([--enable-dd], [Enable DD version]),
[case "${enableval}" in
yes) enable_dd=yes ;;
no) enable_dd=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-dd) ;;
esac],[enable_dd=yes])
AM_CONDITIONAL(ENABLE_DD, test x$enable_dd = xyes)
dnl enable double
AC_ARG_ENABLE(double,
AS_HELP_STRING([--enable-double], [Enable double version]),
[case "${enableval}" in
yes) enable_double=yes ;;
no) enable_double=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-double) ;;
esac],[enable_double=no])
AM_CONDITIONAL(ENABLE_DOUBLE, test x$enable_double = xyes)
AC_ARG_ENABLE(_Float128,
AS_HELP_STRING([--enable-_Float128], [Enable _Float128 version (TS 18661-3 like gcc extension) ]),
[case "${enableval}" in
yes) enable__Float128=yes ;;
no) enable__Float128=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-_Float128) ;;
esac],[enable__Float128=no])
SAVE_CXXFLAGS="$CXXFLAGS"
AM_CONDITIONAL(WANT_QUADMATH, test x$enable__Float128 = xno)
if test x$enable__Float128 = x"yes"; then
# For unknown reason, the f128 suffix doesn't work in g++-9, but it does in gcc-9.
AC_MSG_CHECKING([whether _Float128 is supported])
AC_LINK_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main() {
_Float128 a, b, c; b = 1.0q; c=3.0q; a = b / c;
char buf[1024];
strfromf128(buf, sizeof(buf), "%.40g", a);
printf("fp128 %s\n",buf);
}
]])
], [have__Float128=yes want_libquadmath=no], [have__Float128=no])
if test x"$have__Float128" = x"yes"; then
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main() {
long double *x;
_Float128 *y = x;
}
]])
], [_Float128islongdouble=yes], [_Float128islongdouble=no])
if test "$_Float128islongdouble" = "yes"; then
AC_MSG_RESULT([_Float128 is long double])
else
AC_MSG_RESULT([_Float128 is not long double])
fi
fi
if test x"$have__Float128" = x"no"; then
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <limits>
int main(){
#if __LDBL_MANT_DIG__ >= 113
printf("%d\n",__LDBL_MANT_DIG__);
#else
#error
#endif
}
]])
], [longdoubleisbinary128=yes], [longdoubleisbinary128=no])
if test "$longdoubleisbinary128" = "yes"; then
AC_MSG_RESULT([long double is binary128])
else
AC_MSG_RESULT([long double is not binary128])
fi
save_LIBS="$LIBS"
LIBS="-lquadmath $LIBS"
AC_LINK_IFELSE([
AC_LANG_SOURCE([[
#include <quadmath.h>
#include <stdio.h>
int main(){
char buf[1024];
__float128 a, b, c; b = 1.0q; c= 3.0q; a = b / c;
quadmath_snprintf(buf,128,"%.40Qf\n",a);
printf("%s",buf);
}
]])
], [have___float128=yes want_libquadmath=yes], [have___float128=no])
LIBS="$save_LIBS"
fi
if test "$have___float128" = "yes" && test x"$want_libquadmath" = x"yes" ; then
AC_MSG_RESULT([_Float128 is supported via __float128 and libquadmath])
sed 's/%%MPLAPACK_BINARY128%%/#define ___MPLAPACK_WANT_LIBQUADMATH___/g' include/mplapack_utils__Float128.h.in > include/mplapack_utils__Float128.h
elif test "$have__Float128" = "yes" && test x"$want_libquadmath" = x"no" && test x"$_Float128islongdouble" = x"yes"; then
AC_MSG_RESULT([_Float128 is supported via native libc and _Float128 and long double are the same])
sed 's/%%MPLAPACK_BINARY128%%/#define ___MPLAPACK__FLOAT128_IS_LONGDOUBLE___/g' include/mplapack_utils__Float128.h.in > include/mplapack_utils__Float128.h
elif test "$have__Float128" = "yes" && test x"$want_libquadmath" = x"no" && test x"$_Float128islongdouble" != x"yes"; then
AC_MSG_RESULT([_Float128 is supported via native libc and only binary128 in this system])
sed 's/%%MPLAPACK_BINARY128%%/#define ___MPLAPACK__FLOAT128_ONLY___/g' include/mplapack_utils__Float128.h.in > include/mplapack_utils__Float128.h
elif test "$have__Float128" = "no" && test x"$longdoubleisbinary128" = x"yes"; then
AC_MSG_RESULT([long double is binary128, but neither _Float128 nor __float128 are supported])
sed 's/%%MPLAPACK_BINARY128%%/#define ___MPLAPACK_LONGDOUBLE_IS_BINARY128___/g' include/mplapack_utils__Float128.h.in > include/mplapack_utils__Float128.h
else
AC_MSG_ERROR([binary128 is not supported on this system])
fi
fi
AM_CONDITIONAL(ENABLE__FLOAT128, test x$enable__Float128 = xyes)
AM_CONDITIONAL(WANT_QUADMATH, test x$want_libquadmath = xyes)
AM_CONDITIONAL(IS__FLOAT128_LONGDOUBLE, test x$_Float128islongdouble = xyes)
AM_CONDITIONAL(IS_LONGDOUBLE_BINARY128, test x$longdoubleisbinary128 = xyes)
if test "$enable_examples" != "no" ; then
# always requires libquadmath
_FILES=`ls examples/mpblas/Makefile.macos.in examples/mpblas/Makefile.mingw.in examples/mplapack/*/Makefile.macos.in examples/mplapack/*/Makefile.mingw.in`
for _file in $_FILES; do
__file=`echo $_file | sed 's/\.in//g'`
sed -e "s|%%MPLAPACKDIR%%|$prefix|g" -e "s|%%LIBQUADMATH%%| -lquadmath|g" $_file > $__file
done
# see FreeBSD ABI: https://www.freebsd.org/cgi/man.cgi?query=arch&sektion=7&format=html
_FILES=`ls examples/mpblas/Makefile.linux.in examples/mpblas/Makefile.linux_cuda.in examples/mpblas/Makefile.freebsd.in examples/mplapack/*/Makefile.linux.in examples/mplapack/*/Makefile.freebsd.in`
if test "$want_libquadmath" = "yes" ; then
for _file in $_FILES; do
__file=`echo $_file | sed 's/\.in//g'`
sed -e "s|%%MPLAPACKDIR%%|$prefix|g" -e "s|%%LIBQUADMATH%%| -lquadmath|g" $_file > $__file
done
else
for _file in $_FILES; do
__file=`echo $_file | sed 's/\.in//g'`
sed -e "s|%%MPLAPACKDIR%%|$prefix|g" -e "s|%%LIBQUADMATH%%||g" $_file > $__file
done
fi
fi
CXXFLAGS="$SAVE_CXXFLAGS"
AC_ARG_ENABLE(_Float64x,
AS_HELP_STRING([--enable-_Float64x], [Enable _Float64x (aka __float80 or long double) version]),
[case "${enableval}" in
yes) enable__Float64x=yes ;;
no) enable__Float64x=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-_Float64x) ;;
esac],[enable__Float64x=no])
SAVE_CXXFLAGS="$CXXFLAGS"
if test x$enable__Float64x = x"yes"; then
AC_MSG_CHECKING([whether _Float64x is supported])
AC_LINK_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main() {
_Float64x a, b, c; b = 1.0w; c=3.0w; a = b / c;
printf("_Float64x %Lf\n", a);
}
]])
], [have__Float64x=yes want___float80=no], [_have__Float64x=no])
if test "$_have__Float64x" = "no"; then
AC_LINK_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main(){
char buf[1024];
__float80 a, b, c; b = 1.0w; c= 3.0w; a = b / c;
printf("__float80 %Lf",a);
}
]])
], [have__Float64x=yes want___float80=yes], [have__Float64x=no])
if test "$have__Float64x" = "no"; then
AC_MSG_ERROR([_Float64x is not supported on this platform])
fi
LDFLAGS="$save_LDFLAGS"
fi
if test x"$have__Float64x" = x"yes" && test x"$want___float80" = x"no" ; then
AC_MSG_RESULT([_Float64x is supported natively])
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main() {
long double *x;
_Float64x *y = x;
}
]])
], [float64xislongdouble=yes], [float64islongdouble=no])
fi
if test x"$have__Float64x" = x"yes" && test x"$want___float80" = x"yes" ; then
AC_MSG_RESULT([_Float64x is supported via __float80])
AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main() {
long double *x;
__float80 *y = x;
}
]])
], [float64xislongdouble=yes], [float64islongdouble=no])
fi
if test "$float64xislongdouble" = "yes"; then
AC_MSG_RESULT([_Float64x is long double])
else
AC_MSG_RESULT([_Float64x is not long double])
fi
if test "$want___float80" = "yes" && test "$float64xislongdouble" = "yes" ; then
sed 's/%%MPLAPACK__FLOAT64X___FLOAT80%%/typedef __float80 _Float64x;\n#define ___MPLAPACK__FLOAT64X_IS_LONGDOUBLE___/g' include/mplapack_utils__Float64x.h.in > include/mplapack_utils__Float64x.h
fi
if test "$want___float80" = "yes" && test "$float64xislongdouble" = "no" ; then
sed 's/%%MPLAPACK__FLOAT64X___FLOAT80%%/typedef __float80 _Float64x;/g' include/mplapack_utils__Float64x.h.in > include/mplapack_utils__Float64x.h
fi
if test "$want___float80" = "no" && test "$float64xislongdouble" = "yes" ; then
sed 's/%%MPLAPACK__FLOAT64X___FLOAT80%%/#define ___MPLAPACK__FLOAT64X_IS_LONGDOUBLE___/g' include/mplapack_utils__Float64x.h.in > include/mplapack_utils__Float64x.h
fi
if test "$want___float80" = "no" && test "$float64xislongdouble" = "no" ; then
sed 's/%%MPLAPACK__FLOAT64X___FLOAT80%%//g' include/mplapack_utils__Float64x.h.in > include/mplapack_utils__Float64x.h
fi
fi
CXXFLAGS="$SAVE_CXXFLAGS"
AM_CONDITIONAL(ENABLE__FLOAT64X, test x$enable__Float64x = xyes)
AM_CONDITIONAL(IS__FLOAT64X_LONGDOUBLE, test x$float64xislongdouble = xyes)
AM_CONDITIONAL(IS___FLOAT80, test x$want___float80 = xyes)
highest_abs_top_srcdir=`cd "$srcdir" && pwd`
dnl GMP library start
AC_ARG_WITH(system-gmp,
AS_HELP_STRING([--with-system-gmp=PREFIX],
[ ="yes" if it is at the default location (/usr/local/lib), or alternative prefix path to gmp library]
),
GMP_PATHSET=1,
GMP_PATHSET=0;
with_system_gmp="no";
)
GMP_INCLUDEDIR=$highest_abs_top_srcdir/external/i/GMP/include/
GMP_LIBDIR=$highest_abs_top_srcdir/external/i/GMP/lib/
if test $GMP_PATHSET = 1 ; then
if test $with_system_gmp != "yes"; then
GMP_INCLUDEDIR="$with_system_gmp/include"
GMP_LIBDIR="$with_system_gmp/lib"
fi
fi
if test x$enable_gmp = x"yes" -o x$enable_mpfr = x"yes" -o x$enable_test = x"yes"; then
if test x$with_system_gmp != x"no"; then
HAVE_GMP=""
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -I$GMP_INCLUDEDIR"
AC_CHECK_HEADER(gmp.h, HAVE_GMP_HEADER=yes)
CXXFLAGS=$save_CXXFLAGS
if test x$HAVE_GMP_HEADER = xyes; then
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$GMP_LIBDIR"
AC_CHECK_LIB(gmp, __gmpz_init, [GMP_LIBS="-lgmpxx -lgmp"; HAVE_GMP=yes])
LDFLAGS=$save_LDFLAGS
fi
if test x$HAVE_GMP != xyes; then
AC_MSG_RESULT([No GMP library with C++ wrapper found; using internal one instead])
else
AC_MSG_RESULT([GMP library found: using GMP library comes with the system])
SYSTEM_GMP=yes
fi
else
AC_MSG_RESULT([Using GMP library comes with MPLAPACK])
GMP_INCLUDEDIR=$highest_abs_top_srcdir/external/i/GMP/include/
GMP_LIBDIR=$highest_abs_top_srcdir/external/i/GMP/lib/
fi
fi
AM_CONDITIONAL(SYSTEM_GMP, test x$SYSTEM_GMP = xyes)
AC_SUBST(GMP_INCLUDEDIR, [$GMP_INCLUDEDIR])
AC_SUBST(GMP_LIBDIR, [$GMP_LIBDIR])
dnl GMP library end
dnl MPFR library start
AC_ARG_WITH(system-mpfr,
AS_HELP_STRING([--with-system-mpfr=PREFIX],
[ ="yes" if it is at the default location (/usr/local/lib), or alternative prefix path to mpfr library]
),
MPFR_PATHSET=1,
MPFR_PATHSET=0;
with_system_mpfr="no";
)
MPFR_INCLUDEDIR=$highest_abs_top_srcdir/external/i/MPFR/include/
MPFR_LIBDIR=$highest_abs_top_srcdir/external/i/MPFR/lib/
if test $MPFR_PATHSET = 1 ; then
if test $with_system_mpfr != "yes"; then
MPFR_INCLUDEDIR="$with_system_mpfr/include"
MPFR_LIBDIR="$with_system_mpfr/lib"
fi
fi
if test x$enable_mpfr = x"yes" -o x$enable_test = x"yes"; then
if test x$with_system_mpfr != x"no"; then
HAVE_MPFR=""
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -I$MPFR_INCLUDEDIR -I$GMP_INCLUDEDIR"
AC_CHECK_HEADER(mpfr.h, HAVE_MPFR_HEADER=yes)
if test x$HAVE_MPFR_HEADER = xyes; then
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$MPFR_LIBDIR -L$GMP_LIBDIR"
AC_CHECK_LIB(mpfr, mpfr_init, [MPFR_LIBS="-lmpfr -lgmp"; HAVE_MPFR=yes])
LDFLAGS=$save_LDFLAGS
fi
if test x$HAVE_MPFR != xyes; then
AC_MSG_RESULT([No MPFR library found; using internal one instead])
else
AC_MSG_RESULT([MPFR found: using MPFR comes with the system])
SYSTEM_MPFR=yes
fi
CXXFLAGS=$save_CXXFLAGS
else
AC_MSG_RESULT([Using MPFR comes with MPLAPACK])
MPFR_INCLUDEDIR=$highest_abs_top_srcdir/external/i/MPFR/include/
MPFR_LIBDIR=$highest_abs_top_srcdir/external/i/MPFR/lib/
fi
fi
AM_CONDITIONAL(SYSTEM_MPFR, test x$SYSTEM_MPFR = xyes)
AC_SUBST(MPFR_INCLUDEDIR, [$MPFR_INCLUDEDIR])
AC_SUBST(MPFR_LIBDIR, [$MPFR_LIBDIR])
dnl MPFR library end
dnl MPC library start
AC_ARG_WITH(system-mpc,
AS_HELP_STRING([--with-system-mpc=PREFIX],
[ ="yes" if it is at the default location (/usr/local/lib), or alternative prefix path to mpc library]
),
MPC_PATHSET=1,
MPC_PATHSET=0;
with_system_mpc="no";
)
MPC_INCLUDEDIR=$highest_abs_top_srcdir/external/i/MPC/include/
MPC_LIBDIR=$highest_abs_top_srcdir/external/i/MPC/lib/
if test $MPC_PATHSET = 1 ; then
if test $with_system_mpc != "yes"; then
MPC_INCLUDEDIR="$with_system_mpc/include"
MPC_LIBDIR="$with_system_mpc/lib"
fi
fi
if test x$enable_mpfr = x"yes" -o x$enable_test = x"yes"; then
if test x$with_system_mpc != x"no"; then
HAVE_MPC=""
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -I$MPC_INCLUDEDIR -I$MPFR_INCLUDEDIR -I$GMP_INCLUDEDIR"
AC_CHECK_HEADER(mpc.h, HAVE_MPC_HEADER=yes)
if test x$HAVE_MPC_HEADER = xyes; then
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$MPC_LIBDIR -L$MPFR_LIBDIR -L$GMP_LIBDIR"
AC_CHECK_LIB(mpc, mpc_init2, [MPC_LIBS="-lmpc -lmpfr -lgmp"; HAVE_MPC=yes])
LDFLAGS=$save_LDFLAGS
fi
if test x$HAVE_MPC != xyes; then
AC_MSG_RESULT([No MPC library found; using internal one instead])
else
AC_MSG_RESULT([MPC library found: using MPC library comes with the system])
SYSTEM_MPC=yes
fi
CXXFLAGS=$save_CXXFLAGS
else
AC_MSG_RESULT([Using MPC library comes with MPLAPACK])
MPC_INCLUDEDIR=$highest_abs_top_srcdir/external/i/MPC/include/
MPC_LIBDIR=$highest_abs_top_srcdir/external/i/MPC/lib/
fi
fi
AM_CONDITIONAL(SYSTEM_MPC, test x$SYSTEM_MPC = xyes)
AC_SUBST(MPC_INCLUDEDIR, [$MPC_INCLUDEDIR])
AC_SUBST(MPC_LIBDIR, [$MPC_LIBDIR])
dnl MPC library end
dnl QD library start
AC_ARG_WITH(system-qd,
AS_HELP_STRING([--with-system-qd=PREFIX],
[ ="yes" if it is at the default location (/usr/local/lib), or alternative prefix path to qd library]
),
QD_PATHSET=1,
QD_PATHSET=0;
with_system_qd="no";
)
QD_INCLUDEDIR=$highest_abs_top_srcdir/external/i/QD/include/
QD_LIBDIR=$highest_abs_top_srcdir/external/i/QD/lib/
if test $QD_PATHSET = 1 ; then
if test $with_system_qd != "yes"; then
QD_INCLUDEDIR="$with_system_qd/include"
QD_LIBDIR="$with_system_qd/lib"
fi
fi
if test x$enable_qd = x"yes" -o x$enable_dd = x"yes" -o x$enable_test = x"yes"; then
if test x$with_system_qd != x"no"; then
HAVE_QD=""
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -I$QD_INCLUDEDIR"
AC_CHECK_HEADER(qd/qd_real.h, HAVE_QD_HEADER=yes)
CXXFLAGS=$save_CXXFLAGS
if test x$HAVE_QD_HEADER = xyes; then
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$QD_LIBDIR"
AC_CHECK_LIB(qd, c_qd_sqrt, [QD_LIBS="-lqd"; HAVE_QD=yes])
LDFLAGS=$save_LDFLAGS
fi
if test x$HAVE_QD != xyes; then
AC_MSG_RESULT([No QD library found; using internal one instead])
else
AC_MSG_RESULT([QD library found: using QD library comes with the system])
SYSTEM_QD=yes
fi
else
AC_MSG_RESULT([Using QD library comes with MPLAPACK])
QD_INCLUDEDIR=$highest_abs_top_srcdir/external/i/QD/include/
QD_LIBDIR=$highest_abs_top_srcdir/external/i/QD/lib/
fi
fi
AM_CONDITIONAL(SYSTEM_QD, test x$SYSTEM_QD = xyes)
AC_SUBST(QD_INCLUDEDIR, [$QD_INCLUDEDIR])
AC_SUBST(QD_LIBDIR, [$QD_LIBDIR])
dnl QD library end
need_internal_gmplib=no
if test x$enable_gmp = x"yes" || test x$enable_mpfr = x"yes" && test x$SYSTEM_GMP != x"yes"; then
need_internal_gmplib=yes
AC_SUBST(GMP_DIR, [gmp])
fi
#AM_CONDITIONAL(NEED_INTERNAL_GMPLIB, test x$need_internal_gmplib = xyes)
need_internal_qdlib=no
if test x$enable_qd = x"yes" || test x$enable_dd = x"yes"; then
if test x$SYSTEM_QD != x"yes"; then
need_internal_qdlib=yes
AC_SUBST(QD_DIR, [qd])
fi
fi
#AM_CONDITIONAL(NEED_INTERNAL_QDLIB, test x$need_internal_qdlib = xyes)
need_internal_mpfrlib=no
if test x$enable_mpfr = x"yes" && test x$SYSTEM_MPFR != x"yes"; then
need_internal_mpfrlib=yes
AC_SUBST(MPFR_DIR, [mpfr])
fi
#AM_CONDITIONAL(NEED_INTERNAL_MPFRLIB, test x$need_internal_mpfrlib = xyes)
need_internal_mpclib=no
if test x$enable_mpfr = x"yes" && test x$SYSTEM_MPC != x"yes"; then
need_internal_mpclib=yes
AC_SUBST(MPC_DIR, [mpc])
fi
#AM_CONDITIONAL(NEED_INTERNAL_MPCLIB, test x$need_internal_mpclib = xyes)
need_internal_openblas=no
if test x$enable_benchmark = x"yes"; then
need_internal_openblas=yes
AC_SUBST(OPENBLAS_DIR, [openblas])
if test x$IS_MINGW = x"1"; then
DLFCN_WIN32_INCLUDEDIR=$highest_abs_top_srcdir/external/i/DLFCN_WIN32/include/
DLFCN_WIN32_LIBDIR=$highest_abs_top_srcdir/external/i/DLFCN_WIN32/lib/
AC_SUBST(DLFCN_WIN32_INCLUDEDIR, [$DLFCN_WIN32_INCLUDEDIR])
AC_SUBST(DLFCN_WIN32_LIBDIR, [$DLFCN_WIN32_LIBDIR])
fi
fi
dnl print status...start
if test x$enable_gmp = x"yes"; then
AC_MSG_RESULT([Enable GMP version])
else
AC_MSG_RESULT([Disable GMP version])
fi
if test x$enable_dd = x"yes"; then
AC_MSG_RESULT([Enable DD version])
else
AC_MSG_RESULT([Disable DD version])
fi
if test x$enable_cuda = x"yes"; then
AC_MSG_RESULT([Enable CUDA version : the home of CUDA Toolkit : $CUDATOOLKITHOME])
else
AC_MSG_RESULT([Disable CUDA version])
fi
if test x$enable_qd = x"yes"; then
AC_MSG_RESULT([Enable QD version])
else
AC_MSG_RESULT([Disable QD version])
fi
if test x$enable_mpfr = x"yes"; then
AC_MSG_RESULT([Enable MPFR version])
else
AC_MSG_RESULT([Disable MPFR version])
fi
if test x$enable_double = x"yes"; then
AC_MSG_RESULT([Enable double version])
else
AC_MSG_RESULT([Disable double version])
fi
if test x$enable__Float64x = x"yes"; then
if test "$want___float80" = "yes"; then
AC_MSG_RESULT([Enable _Float64x version via __float80])
else
AC_MSG_RESULT([Enable native _Float64x version ])
fi
else
AC_MSG_RESULT([Disable _Float64x version])
fi
if test x$enable__Float64x = x"yes"; then
if test "$float64xislongdouble" = "yes"; then
AC_MSG_RESULT([_Float64x is long double])
else
AC_MSG_RESULT([_Float64x is not long double])
fi
fi
if test x$enable__Float128 = x"yes" && test x"$want_libquadmath" = x"yes"; then
AC_MSG_RESULT([_Float128 is supported via __float128 and libquadmath])
elif test x$enable__Float128 = x"yes" && test x"$want_libquadmath" = x"no" && test x"$_Float128islongdouble" = x"yes"; then
AC_MSG_RESULT([_Float128 is supported via native libc and _Float128 and long double are the same])
elif test x$enable__Float128 = x"yes" && test x"$want_libquadmath" = x"no" && test x"$_Float128islongdouble" != x"yes"; then
AC_MSG_RESULT([_Float128 is supported via native libc and only binary128 in this system])
elif test x$enable__Float128 = x"yes" && test x"$longdoubleisbinary128" = x"yes"; then
AC_MSG_RESULT([long double is binary128, but neither _Float128 nor __float128 are supported])
else
AC_MSG_RESULT([disable _Float128])
fi
if test x$enable_benchmark = x"yes"; then
AC_MSG_RESULT([Enable benchmark])
AC_MSG_RESULT([Build internal OpenBLAS])
else
AC_MSG_RESULT([Disable benchmark])
AC_MSG_RESULT([Do not build internal OpenBLAS])
fi
if test x$enable_test = x"yes"; then
AC_MSG_RESULT([Enable test])
else
AC_MSG_RESULT([Disable test])
fi
if test x$enable_test = x"yes" || test x$enable_bench = x"yes" ; then
AC_MSG_RESULT([Build internal LAPACK])
AC_SUBST(LAPACK_DIR, [lapack])
LAPACK_INCLUDEDIR=$highest_abs_top_srcdir/external/i/LAPACK/include/
LAPACK_LIBDIR=$highest_abs_top_srcdir/external/i/LAPACK/lib/
AC_SUBST(LAPACK_INCLUDEDIR, [$LAPACK_INCLUDEDIR])
AC_SUBST(LAPACK_LIBDIR, [$LAPACK_LIBDIR])
else
AC_MSG_RESULT([Build internal LAPACK])
LAPACK_INCLUDEDIR=.
LAPACK_LIBDIR=.
AC_SUBST(LAPACK_INCLUDEDIR, [$LAPACK_INCLUDEDIR])
AC_SUBST(LAPACK_LIBDIR, [$LAPACK_LIBDIR])
fi
dnl print status...end
dnl First we check Fotran 90 compiler stuffs.
if test x"$enable_test" = x"yes"; then
AC_PROG_FC
AC_FC_LIBRARY_LDFLAGS
AC_FC_WRAPPERS
AC_SUBST(FCLIBS)
AC_LANG_PUSH([Fortran])
AC_OPENMP
AC_LANG_POP([Fortran])
fi
if test x"$enable_optimization" = x"no" && test x"$enable_debug" = x"yes" ; then
CFLAGS="-O0 -g"
CXXFLAGS="-O0 -g"
FCFLAGS="-O0 -g"
fi
if test x"$enable_optimization" = x"yes" && test x"$enable_debug" != x"yes" ; then
case $target in
powerpc*-*-*)
CFLAGS="$CFLAGS -mcpu=native -O2 -finline-functions -funroll-all-loops"
CXXFLAGS="$CXXFLAGS -mcpu=native -O2 -finline-functions -funroll-all-loops"
FCFLAGS="$FCFLAGS -mcpu=native -O2 -frecursive -fno-optimize-sibling-calls -finline-functions -funroll-all-loops"
;;
* )
if test x"$is_intelcxx" = x"1"; then
if cat /proc/cpuinfo | grep Ryzen >& /dev/null ; then
CXXFLAGS="$CXXFLAGS -march=core-avx2 -O2 -finline-functions -funroll-all-loops"
else
CXXFLAGS="$CXXFLAGS -xHost -O2 -finline-functions -funroll-all-loops"
fi
else #GCC
CXXFLAGS="$CXXFLAGS -march=native -O2 -finline-functions -funroll-all-loops"
fi
if test x"$is_intelcc" = x"1"; then
if cat /proc/cpuinfo | grep Ryzen >& /dev/null ; then
CFLAGS="$CFLAGS -march=core-avx2 -O2 -finline-functions"
else
CFLAGS="$CFLAGS -xHost -O2 -finline-functions"
fi
else #GCC
CFLAGS="$CFLAGS -march=native -O2 -finline-functions -funroll-all-loops"
FCFLAGS="$FCFLAGS -march=native -O2 -frecursive -fno-optimize-sibling-calls -finline-functions -funroll-all-loops"
fi
;;
esac
fi
if test x"$is_intelcc" = x"1"; then
CFLAGS="$CFLAGS -fp-model precise"
fi
if test x"$is_intelcxx" = x"1"; then
CXXFLAGS="$CXXFLAGS -fp-model precise"
fi
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(FCFLAGS)
############ select created libraries for the pkg-config ###############
PACKAGE_CREATED_LIBS=""
if test x$enable_dd = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_dd -lmpblas_dd"
fi
if test x$enable_qd = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_qd -lmpblas_qd"
fi
if test x$enable_gmp = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_gmp -lmpblas_gmp"
fi
if test x$enable_mpfr = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_mpfr -lmpblas_mpfr"
fi
if test x$enable_mpc = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_mpc -lmpblas_mpc"
fi
if test x$enable__Float128 = x"yes"; then
if test "$want_libquadmath" = "yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack__Float128 -lmpblas__Float128 -lquadmath"
else
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack__Float128 -lmpblas__Float128"
fi
fi
if test x$enable_double = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack_double -lmpblas_double"
fi
if test x$enable__Float64x = x"yes"; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmplapack__Float64x -lmpblas__Float64x"
fi
# add external libraries only if they will be installed with the package
if test x$need_internal_gmplib = xyes; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lgmpxx -lgmp"
fi
if test x$need_internal_qdlib = xyes; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lqd"
fi
if test x$need_internal_mpfrlib = xyes; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmpfr"
fi
if test x$need_internal_mpclib = xyes; then
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" -lmpc"
fi
PACKAGE_CREATED_LIBS=$PACKAGE_CREATED_LIBS" ${OPENMP_CXXFLAGS}"
AC_SUBST([PACKAGE_CREATED_LIBS])
########################################################################
AC_CONFIG_FILES([
mpblas/optimized/Makefile
mpblas/optimized/gmp/Makefile
mpblas/optimized/mpfr/Makefile
mpblas/optimized/qd/Makefile
mpblas/optimized/dd/Makefile
mpblas/optimized/dd/cuda/Makefile
mpblas/optimized/double/Makefile
mpblas/optimized/_Float64x/Makefile
mpblas/optimized/_Float128/Makefile
mpblas/test/Makefile
mpblas/test/gmp/Makefile
mpblas/test/mpfr/Makefile
mpblas/test/qd/Makefile
mpblas/test/dd/Makefile
mpblas/test/double/Makefile
mpblas/test/_Float64x/Makefile
mpblas/test/_Float128/Makefile
mpblas/Makefile
mplapack/test/Makefile
mplapack/test/compare/Makefile
mplapack/test/compare/gmp/Makefile
mplapack/test/compare/mpfr/Makefile
mplapack/test/compare/qd/Makefile
mplapack/test/compare/dd/Makefile
mplapack/test/compare/double/Makefile
mplapack/test/compare/_Float64x/Makefile
mplapack/test/compare/_Float128/Makefile
mplapack/test/matgen/Makefile
mplapack/test/lin/Makefile
mplapack/test/lin/mpfr/Makefile
mplapack/test/lin/gmp/Makefile
mplapack/test/lin/qd/Makefile
mplapack/test/lin/dd/Makefile
mplapack/test/lin/double/Makefile
mplapack/test/lin/_Float64x/Makefile
mplapack/test/lin/_Float128/Makefile
mplapack/test/eig/Makefile
mplapack/test/eig/mpfr/Makefile
mplapack/test/eig/gmp/Makefile
mplapack/test/eig/qd/Makefile
mplapack/test/eig/dd/Makefile
mplapack/test/eig/double/Makefile
mplapack/test/eig/_Float64x/Makefile
mplapack/test/eig/_Float128/Makefile
mplapack/Makefile
external/Makefile
external/gmp/Makefile
external/mpfr/Makefile
external/mpc/Makefile
external/qd/Makefile
external/lapack/Makefile
external/openblas/Makefile
external/dlfcn-win32/Makefile
])
if test x$enable_benchmark != xno; then
AC_CONFIG_FILES([
benchmark/Makefile
benchmark/mpblas/Makefile
benchmark/mplapack/Makefile
])
fi
if test x$enable_examples != xno; then
AC_CONFIG_FILES([
examples/Makefile
examples/mpblas/Makefile
examples/mplapack/Makefile
examples/mplapack/00_LinearEquations/Makefile
examples/mplapack/03_SymmetricEigenproblems/Makefile
examples/mplapack/04_NonsymmetricEigenproblems/Makefile
examples/mplapack/05_SingularValueDecomposition/Makefile
])
fi
if test x$enable_reference != xno; then
AC_CONFIG_FILES([
mpblas/reference/Makefile
mplapack/reference/Makefile
])
fi