Skip to content

Commit

Permalink
Merge pull request #121 from joshcooper/amazon2
Browse files Browse the repository at this point in the history
Rename Amazon 7 to 2
  • Loading branch information
cthorn42 authored Jun 3, 2024
2 parents 79525df + 6bf00a0 commit 9075e43
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion configs/components/cpp-hocon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
toolchain = ''
boost_static_flag = '-DBOOST_STATIC=OFF'
special_flags = " -DENABLE_CXX_WERROR=OFF -DCMAKE_CXX_FLAGS='#{settings[:cflags]}'"
cmake = if platform.name =~ /amazon-7-aarch64/
cmake = if platform.name =~ /amazon-2-aarch64/
'/usr/bin/cmake3'
else
'cmake'
Expand Down
2 changes: 1 addition & 1 deletion configs/components/cpp-pcp-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
toolchain = ''
platform_flags = "-DCMAKE_CXX_FLAGS='#{settings[:cflags]} -Wimplicit-fallthrough=0'"
special_flags = ' -DENABLE_CXX_WERROR=OFF'
cmake = if platform.name =~ /amazon-7-aarch64/
cmake = if platform.name =~ /amazon-2-aarch64/
'/usr/bin/cmake3'
else
'cmake'
Expand Down
2 changes: 1 addition & 1 deletion configs/components/leatherman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

# Workaround for hanging leatherman tests (-fno-strict-overflow)
special_flags = " -DENABLE_CXX_WERROR=OFF -DCMAKE_CXX_FLAGS='#{settings[:cflags]} -fno-strict-overflow -Wno-deprecated-declarations' "
cmake = if platform.name =~ /amazon-7-aarch64/
cmake = if platform.name =~ /amazon-2-aarch64/
'/usr/bin/cmake3'
else
'cmake'
Expand Down
2 changes: 1 addition & 1 deletion configs/components/pxp-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
toolchain = ''
special_flags += " -DCMAKE_CXX_FLAGS='#{settings[:cflags]} -Wno-deprecated -Wimplicit-fallthrough=0' "
special_flags += ' -DENABLE_CXX_WERROR=OFF ' unless platform.name =~ /sles-15/
cmake = if platform.name =~ /amazon-7-aarch64/
cmake = if platform.name =~ /amazon-2-aarch64/
'/usr/bin/cmake3'
else
'cmake'
Expand Down
3 changes: 3 additions & 0 deletions configs/platforms/amazon-2-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
platform "amazon-2-aarch64" do |plat|
plat.inherit_from_default
end
3 changes: 0 additions & 3 deletions configs/platforms/amazon-7-aarch64.rb

This file was deleted.

0 comments on commit 9075e43

Please sign in to comment.