Skip to content

Commit c1247d1

Browse files
committed
reduce diff
1 parent 23fd3a1 commit c1247d1

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

runtime/flang/CMakeLists.txt

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ SET(FTN_INTRINSICS
206206
mod.c
207207
mvbits3f.c
208208
nargs3f.c
209+
omp_lib.F95
209210
outstr3f.c
210211
packtimeqq3f.c
211212
perror3f.c
@@ -337,8 +338,10 @@ SET(FTN_SUPPORT_COMMON
337338
descIntrins.c
338339
descFioUtil.c
339340
descRW.c
341+
ieee_features.F95
340342
initpar.c
341343
inquire.c
344+
iso_fortran_env.f90
342345
ldread.c
343346
ldwrite.c
344347
linux_dummy.c
@@ -474,25 +477,20 @@ SET(FTN_SUPPORT_COMMON
474477
xfer_rpm1.c
475478
)
476479

477-
foreach(FTN_FILE ieee_arithmetic ieee_exceptions ieee_features iso_c_bind omp_lib)
480+
foreach(FTN_FILE ieee_arithmetic ieee_exceptions iso_c_bind)
478481
configure_file(${FTN_FILE}.F95 ${FTN_FILE}_static.F95 COPYONLY)
479482
endforeach()
480-
configure_file(iso_fortran_env.f90 iso_fortran_env_static.f90 COPYONLY)
481483

482484
SET(FTN_SUPPORT_SHARED
483485
ieee_arithmetic.F95
484486
ieee_exceptions.F95
485487
iso_c_bind.F95
486-
ieee_features.F95
487-
iso_fortran_env.f90
488488
)
489489

490490
SET(FTN_SUPPORT_STATIC
491491
ieee_arithmetic_static.F95
492492
ieee_exceptions_static.F95
493493
iso_c_bind_static.F95
494-
ieee_features_static.F95
495-
iso_fortran_env_static.f90
496494
)
497495

498496
SET(FTN_SUPPORT
@@ -501,17 +499,8 @@ SET(FTN_SUPPORT
501499
${FTN_SUPPORT_COMMON}
502500
)
503501

504-
SET(FTN_INTRINSICS_STATIC
505-
omp_lib_static.F95
506-
)
507-
508-
SET(FTN_INTRINSICS_SHARED
509-
omp_lib_static.F95
510-
)
511-
512502
add_flang_library(flang_static
513503
${FTN_INTRINSICS}
514-
${FTN_INTRINSICS_STATIC}
515504
${FTN_SUPPORT_COMMON}
516505
${FTN_SUPPORT_STATIC}
517506
${SHARED_SOURCES}
@@ -544,7 +533,6 @@ set(SHARED_LIBRARY TRUE)
544533

545534
add_flang_library(flang_shared
546535
${FTN_INTRINSICS}
547-
${FTN_INTRINSICS_SHARED}
548536
${FTN_SUPPORT_COMMON}
549537
${FTN_SUPPORT_SHARED}
550538
${SHARED_SOURCES}

0 commit comments

Comments
 (0)