Skip to content

Commit

Permalink
Merge pull request #18725 from boegel/20230906095020_new_pr_RapidJSON110
Browse files Browse the repository at this point in the history
strip out hardcoded `-march=native` used by RapidJSON 1.1.0
  • Loading branch information
verdurin authored Sep 6, 2023
2 parents cfcee94 + 4282f2f commit a82280d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ builddependencies = [
('CMake', '3.18.4'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ builddependencies = [
('CMake', '3.20.1'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
'dirs': ['include/%(namelower)s', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ builddependencies = [
('CMake', '3.21.1'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
'dirs': ['include/%(namelower)s', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ builddependencies = [
('CMake', '3.23.1'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
'dirs': ['include/%(namelower)s', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ builddependencies = [
('CMake', '3.24.3'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
'dirs': ['include/%(namelower)s', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ builddependencies = [
('CMake', '3.13.3'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/RapidJSON.pc'],
'dirs': ['include/rapidjson', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ builddependencies = [
('CMake', '3.15.3'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/RapidJSON.pc'],
'dirs': ['include/rapidjson', 'lib/cmake', 'share'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ builddependencies = [
('CMake', '3.16.4'),
]

# strip out hardcoded use of -march=native, EasyBuild should be in control of this
preconfigopts = "sed -i 's/-march=native//g' ../rapidjson-%(version)s/CMakeLists.txt && "

sanity_check_paths = {
'files': ['lib/pkgconfig/%(name)s.pc'],
Expand Down

0 comments on commit a82280d

Please sign in to comment.