Skip to content

Commit

Permalink
Rename Amazon 7 to 2
Browse files Browse the repository at this point in the history
Amazon 7 is an implementation detail, the actual OS is named Amazon 2

(cherry picked from commit 6bf00a0)
  • Loading branch information
joshcooper committed Jun 3, 2024
1 parent aa607f1 commit 1ba1fb9
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 @@ -49,7 +49,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 @@ -59,7 +59,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 @@ -88,7 +88,7 @@
pkg.environment 'LDFLAGS', settings[:ldflags]
toolchain = ''
boost_static_flag = ''
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 @@ -73,7 +73,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 1ba1fb9

Please sign in to comment.