Skip to content

Commit

Permalink
build/bin/sage-dist-helpers (sdh_prefix_args): Unused, removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 17, 2024
1 parent 9d98747 commit 6d41d9b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions build/bin/sage-dist-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@
#
# Runs `pip uninstall` with the given arguments. If unsuccessful, it displays a warning.
#
# - eval sdh_prefix_args PREFIX [...]
#
# Helper function for transforming build options so that they can be passed
# through "pip".
#
# - sdh_cmake [...]
#
# Runs `cmake` in the current directory with the given arguments, as well as
Expand Down Expand Up @@ -220,16 +215,6 @@ sdh_setup_bdist_wheel() {
"$@" || sdh_die "Error building a wheel for $PKG_NAME"
}

sdh_prefix_args () {
prefix="$1"
shift
while [ $# -gt 0 ]; do
# Quoted quotes because the result is to be run through eval
echo "$prefix" \"$1\"
shift
done
}

sdh_pip_install() {
echo "Installing $PKG_NAME"
mkdir -p dist
Expand Down

0 comments on commit 6d41d9b

Please sign in to comment.