diff --git a/.gitignore b/.gitignore index 3999e3b5dca..b144b9152f9 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ __pycache__/ arm_test/ buck-out/ buck2-bin/ -build/ +# build/ cmake-android-out/ cmake-ios-out/ cmake-out* diff --git a/build/build_android_library.sh b/build/build_android_library.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/build_android_library.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1 diff --git a/build/build_apple_frameworks.sh b/build/build_apple_frameworks.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/build_apple_frameworks.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1 diff --git a/build/build_apple_llm_demo.sh b/build/build_apple_llm_demo.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/build_apple_llm_demo.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1 diff --git a/build/create_frameworks.sh b/build/create_frameworks.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/create_frameworks.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1 diff --git a/build/print_exported_headers.py b/build/print_exported_headers.py new file mode 100755 index 00000000000..c678e2440fe --- /dev/null +++ b/build/print_exported_headers.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +import os +import sys + +current_file=os.path.basename(__file__) +print(f"\033[31m[error] build/{current_file} has moved to:\033[0m scripts/{current_file}") +sys.exit(1) diff --git a/build/run_android_emulator.sh b/build/run_android_emulator.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/run_android_emulator.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1 diff --git a/build/test_ios.sh b/build/test_ios.sh new file mode 100755 index 00000000000..04a62d54df7 --- /dev/null +++ b/build/test_ios.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +set -eu + +current_file=$(basename "$0") +echo -e "\033[31m[error] $0 has moved to:\033[0m scripts/${current_file}" +exit 1