Skip to content

Commit 4e8c730

Browse files
committed
Suppress NDK CMake deprecation warnings
1 parent a8ad725 commit 4e8c730

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

generator/vk_layer/android_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: MIT
33
# ----------------------------------------------------------------------------
4-
# Copyright (c) 2024 Arm Limited
4+
# Copyright (c) 2024-2025 Arm Limited
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to
@@ -65,6 +65,7 @@ cmake \
6565
-DANDROID_STL=c++_static \
6666
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
6767
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
68+
-DCMAKE_WARN_DEPRECATED=OFF \
6869
..
6970

7071
make -j1

layer_example/android_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: MIT
33
# ----------------------------------------------------------------------------
4-
# Copyright (c) 2024 Arm Limited
4+
# Copyright (c) 2024-2025 Arm Limited
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to
@@ -65,6 +65,7 @@ cmake \
6565
-DANDROID_STL=c++_static \
6666
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
6767
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
68+
-DCMAKE_WARN_DEPRECATED=OFF \
6869
..
6970

7071
make -j1

layer_gpu_support/android_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: MIT
33
# ----------------------------------------------------------------------------
4-
# Copyright (c) 2024 Arm Limited
4+
# Copyright (c) 2024-2025 Arm Limited
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to
@@ -65,6 +65,7 @@ cmake \
6565
-DANDROID_STL=c++_static \
6666
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
6767
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
68+
-DCMAKE_WARN_DEPRECATED=OFF \
6869
..
6970

7071
make -j1

layer_gpu_timeline/android_build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: MIT
33
# ----------------------------------------------------------------------------
4-
# Copyright (c) 2024 Arm Limited
4+
# Copyright (c) 2024-2025 Arm Limited
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to
@@ -65,6 +65,7 @@ cmake \
6565
-DANDROID_STL=c++_static \
6666
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
6767
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake" \
68+
-DCMAKE_WARN_DEPRECATED=OFF \
6869
..
6970

7071
make -j1

0 commit comments

Comments
 (0)