Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/apple/coreml/scripts/build_executor_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ for arg in "$@"; do
esac
done


EXECUTORCH_ROOT_PATH=$(git rev-parse --show-toplevel)
EXECUTORCH_ROOT_PATH=$(realpath -m "$0/../../../../..")
COREML_DIR_PATH="$EXECUTORCH_ROOT_PATH/backends/apple/coreml"
EXAMPLES_COREML_DIR_PATH="$EXECUTORCH_ROOT_PATH/examples/apple/coreml"
IOS_TOOLCHAIN_PATH="$EXECUTORCH_ROOT_PATH/third-party/ios-cmake/ios.toolchain.cmake"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_apple_frameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PRESETS=("ios" "ios-simulator" "macos")
# To support backwards compatibility, we want to retain the same output directory.
PRESETS_RELATIVE_OUT_DIR=("ios" "simulator" "macos")

SOURCE_ROOT_DIR=$(git rev-parse --show-toplevel)
SOURCE_ROOT_DIR=$(realpath -m "$0/../..")
OUTPUT_DIR="${SOURCE_ROOT_DIR}/cmake-out"
HEADERS_RELATIVE_PATH="include"
HEADERS_ABSOLUTE_PATH="${OUTPUT_DIR}/${HEADERS_RELATIVE_PATH}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/apply-release-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

set -eou pipefail

GIT_TOP_DIR=$(git rev-parse --show-toplevel)
GIT_TOP_DIR=$(realpath -m "$0/../../..")
RELEASE_VERSION=${RELEASE_VERSION:-$(cut -d'.' -f1-2 "${GIT_TOP_DIR}/version.txt")}
RELEASE_BRANCH="release/${RELEASE_VERSION}"

Expand Down
2 changes: 1 addition & 1 deletion scripts/release/cut-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ or to cut from main branch:

set -eou pipefail

GIT_TOP_DIR=$(git rev-parse --show-toplevel)
GIT_TOP_DIR=$(realpath -m "$0/../../..")
GIT_REMOTE=${GIT_REMOTE:-origin}
GIT_BRANCH_TO_CUT_FROM=${GIT_BRANCH_TO_CUT_FROM:-viable/strict}

Expand Down
Loading