Skip to content

Commit f189128

Browse files
author
Roberto Di Remigio
committed
Remove IPO
1 parent b34928f commit f189128

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

doc/programmers/cmake-usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ to generate a template ``CMakeLists.txt.try`` file:
6767
list(APPEND sources_list Cavity.cpp Element.cpp GePolCavity.cpp RestartCavity.cpp)
6868
6969
add_library(cavity OBJECT ${sources_list} ${headers_list})
70-
set_target_properties(cavity PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
70+
set_target_properties(cavity PROPERTIES POSITION_INDEPENDENT_CODE 1 )
7171
set_property(GLOBAL APPEND PROPERTY PCMSolver_HEADER_DIRS ${CMAKE_CURRENT_LIST_DIR})
7272
# Sets install directory for all the headers in the list
7373
foreach(_header ${headers_list})

src/bi_operators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ list(APPEND headers_list CollocationIntegrator.hpp IntegratorForward.hpp Integra
55
list(APPEND sources_list )
66

77
add_library(bi_operators OBJECT ${headers_list} ${sources_list})
8-
set_target_properties(bi_operators PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
8+
set_target_properties(bi_operators PROPERTIES POSITION_INDEPENDENT_CODE 1 )
99
add_dependencies(bi_operators generate-config-hpp)
1010
# Sets install directory for all the headers in the list
1111
foreach(_header ${headers_list})

src/cavity/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ list(APPEND headers_list Cavity.hpp CavityData.hpp Element.hpp GePolCavity.hpp R
55
list(APPEND sources_list Cavity.cpp Element.cpp GePolCavity.cpp RestartCavity.cpp)
66

77
add_library(cavity OBJECT ${sources_list} ${headers_list})
8-
set_target_properties(cavity PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
8+
set_target_properties(cavity PROPERTIES POSITION_INDEPENDENT_CODE 1 )
99
add_dependencies(cavity generate-config-hpp)
1010
# Sets install directory for all the headers in the list
1111
foreach(_header ${headers_list})

src/green/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ list(APPEND headers_list AnisotropicLiquid.hpp DerivativeTypes.hpp DerivativeUti
88
list(APPEND sources_list )
99

1010
add_library(green OBJECT ${sources_list} ${headers_list})
11-
set_target_properties(green PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
11+
set_target_properties(green PROPERTIES POSITION_INDEPENDENT_CODE 1 )
1212
add_dependencies(green generate-config-hpp)
1313
# Sets install directory for all the headers in the list
1414
foreach(_header ${headers_list})

src/interface/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ list(APPEND headers_list Meddle.hpp Input.hpp)
55
list(APPEND sources_list Meddle.cpp Input.cpp PhysicalConstants.cpp)
66

77
add_library(interface OBJECT ${sources_list} ${headers_list})
8-
set_target_properties(interface PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
8+
set_target_properties(interface PROPERTIES POSITION_INDEPENDENT_CODE 1 )
99
add_dependencies(interface generate-config-hpp)
1010
# Sets install directory for all the headers in the list
1111
foreach(_header ${headers_list})

src/make_cmake_files.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,22 +93,22 @@ def glob_sources_fortran(dir_name):
9393

9494
if (lang == 'CXX'):
9595
f.write('add_library(' + libname + ' OBJECT ${sources_list} ${headers_list})\n')
96-
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)\n')
96+
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 )\n')
9797
f.write('add_dependencies(' + libname + ' generate-config-hpp)\n')
9898
f.write('# Sets install directory for all the headers in the list\n')
9999
f.write('foreach(_header ${headers_list})\n')
100100
f.write(' install(FILES ${_header} DESTINATION include/' + libname + ')\n')
101101
f.write('endforeach()\n')
102102
elif (lang == 'C'):
103103
f.write('add_library(' + libname + ' OBJECT ${sources_list} ${headers_list})\n')
104-
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)\n')
104+
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 )\n')
105105
f.write('# Sets install directory for all the headers in the list\n')
106106
f.write('foreach(_header ${headers_list})\n')
107107
f.write(' install(FILES ${_header} DESTINATION include/' + libname + ')\n')
108108
f.write('endforeach()\n')
109109
else:
110110
f.write('add_library(' + libname + ' OBJECT ${sources_list})\n')
111-
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)\n')
111+
f.write('set_target_properties(' + libname + ' PROPERTIES POSITION_INDEPENDENT_CODE 1 )\n')
112112

113113
print('Template for {} created'.format(libname))
114114
print('Don\'t forget to fix excluded files and dependencies!!!')

src/metal/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
list(APPEND sources_list metal_sphere.F90)
33

44
add_library(metal OBJECT ${sources_list})
5-
set_target_properties(metal PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
5+
set_target_properties(metal PROPERTIES POSITION_INDEPENDENT_CODE 1 )

src/pedra/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
list(APPEND sources_list pedra_cavity.F90 pedra_cavity_interface.F90 pedra_dblas.F90 pedra_dlapack.F90 pedra_precision.F90 pedra_print.F90 pedra_symmetry.F90 pedra_utils.F90)
33

44
add_library(pedra OBJECT ${sources_list})
5-
set_target_properties(pedra PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
5+
set_target_properties(pedra PROPERTIES POSITION_INDEPENDENT_CODE 1 )

src/solver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ list(APPEND headers_list CPCMSolver.hpp IEFSolver.hpp PCMSolver.hpp RegisterSolv
55
list(APPEND sources_list CPCMSolver.cpp IEFSolver.cpp)
66

77
add_library(solver OBJECT ${sources_list} ${headers_list})
8-
set_target_properties(solver PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
8+
set_target_properties(solver PROPERTIES POSITION_INDEPENDENT_CODE 1 )
99
add_dependencies(solver generate-config-hpp)
1010
# Sets install directory for all the headers in the list
1111
foreach(_header ${headers_list})

src/utils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ list(APPEND sources_list Atom.cpp FortranCUtils.cpp Molecule.cpp Solvent.cpp Sph
99
set_source_files_properties(cnpy.cpp PROPERTIES COMPILE_FLAGS -w)
1010

1111
add_library(utils OBJECT ${sources_list} ${headers_list})
12-
set_target_properties(utils PROPERTIES POSITION_INDEPENDENT_CODE 1 INTERPROCEDURAL_OPTIMIZATION 1)
12+
set_target_properties(utils PROPERTIES POSITION_INDEPENDENT_CODE 1 )
1313
add_dependencies(utils generate-config-hpp)
1414
# Sets install directory for all the headers in the list
1515
foreach(_header ${headers_list})

0 commit comments

Comments
 (0)