Skip to content

Commit

Permalink
SpFFT 1.0.5 -> 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed May 12, 2022
1 parent b4c08d0 commit c9ac585
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/toolchain/scripts/stage8/install_spfft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)"

spfft_ver="1.0.5"
spfft_sha256="43173ff813d616b36b47c4ed767e54eec74bc72c407fb89e18e4a44ffb151d89"
spfft_ver="1.0.6"
spfft_sha256="d179ccdce65890587d0cbf72dc2e5ec0b200ffc56e723ed01a2f5063de6a8630"
source "${SCRIPT_DIR}"/common_vars.sh
source "${SCRIPT_DIR}"/tool_kit.sh
source "${SCRIPT_DIR}"/signal_trap.sh
Expand All @@ -19,7 +19,7 @@ source "${INSTALLDIR}"/toolchain.env
! [ -d "${BUILDDIR}" ] && mkdir -p "${BUILDDIR}"
cd "${BUILDDIR}"

case "$with_spfft" in
case "${with_spfft}" in
__INSTALL__)
echo "==================== Installing spfft ===================="
pkg_install_dir="${INSTALLDIR}/SpFFT-${spfft_ver}"
Expand Down Expand Up @@ -141,7 +141,6 @@ case "$with_spfft" in
fi
write_checksums "${install_lock_file}" "${SCRIPT_DIR}/stage8/$(basename ${SCRIPT_NAME})"
fi

SPFFT_ROOT="${pkg_install_dir}"
SPFFT_CFLAGS="-I'${pkg_install_dir}/include'"
SPFFT_LDFLAGS="-L'${pkg_install_dir}/lib' -Wl,-rpath='${pkg_install_dir}/lib'"
Expand All @@ -153,8 +152,9 @@ case "$with_spfft" in
add_include_from_paths SPFFT_CFLAGS "spfft.h" $INCLUDE_PATHS
add_lib_from_paths SPFFT_LDFLAGS "libspfft.*" $LIB_PATHS
;;
__DONTUSE__) ;;

__DONTUSE__)
# Nothing to do
;;
*)
echo "==================== Linking spfft to user paths ===================="
pkg_install_dir="$with_spfft"
Expand Down

0 comments on commit c9ac585

Please sign in to comment.