Skip to content

Commit

Permalink
Restore TA-Lib installation script to version 0.6.1
Browse files Browse the repository at this point in the history
- Update script to use TA-Lib 0.6.1 source archive
- Modify extraction path to match new version
- Re-add sed modification for floating-point precision
  • Loading branch information
saleh-mir committed Jan 28, 2025
1 parent 203d16c commit a38ac9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker_build_helpers/install_ta-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ else
fi
echo "Installing to ${INSTALL_LOC}"
if [ ! -f "${INSTALL_LOC}/lib/libta_lib.a" ]; then
tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib \
tar zxvf ta-lib-0.6.1-src.tar.gz
cd ta-lib-0.6.1 \
&& sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h \
&& ./configure --prefix=${INSTALL_LOC}/ \
&& make \
Expand Down
Binary file added docker_build_helpers/ta-lib-0.6.1-src.tar.gz
Binary file not shown.

0 comments on commit a38ac9d

Please sign in to comment.