Skip to content

Commit 1449f80

Browse files
mario4tiermrjbq7
authored andcommitted
Pin TA-Lib C 0.8.4
TA-Lib C 0.8.4 is released. Source builds and the wheels now download and verify ta-lib-0.8.4-src.tar.gz, and the build scripts' defaults name 0.8.4. The C build is configured with -DBUILD_TESTING=OFF: from 0.8.4 that is the switch for the C test tools, and -DBUILD_DEV_TOOLS=OFF is a deprecated alias.
1 parent 496e5a0 commit 1449f80

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/tests-dev.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
git -C ta-lib-c-src fetch -q --depth 1 origin ${{ steps.talib_c.outputs.sha }}
5252
git -C ta-lib-c-src checkout -q FETCH_HEAD
5353
cmake -S ta-lib-c-src -B ta-lib-c-build -DCMAKE_BUILD_TYPE=Release \
54-
-DBUILD_DEV_TOOLS=OFF -DCMAKE_INSTALL_PREFIX="$PWD/ta-lib-c"
54+
-DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX="$PWD/ta-lib-c"
5555
cmake --build ta-lib-c-build -j"$(nproc)"
5656
cmake --install ta-lib-c-build
5757

‎setup.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
import numpy
1818

19-
TALIB_C_VERSION = '0.8.3'
20-
TALIB_C_SHA256 = '28b1179b178a0db15f3dad0d846ef77f18eb06db5dfc5b5a8ca153a9ea5d84e6'
19+
TALIB_C_VERSION = '0.8.4'
20+
TALIB_C_SHA256 = 'e8f8f5a61e6b0981d2314485d5151660735828ba461fbd7ebced1d1312edcae3'
2121

2222

2323
def talib_source(directory):
@@ -55,7 +55,7 @@ def build_talib(directory, plat_name):
5555
'-B', str(build), '-DCMAKE_BUILD_TYPE=Release',
5656
f'-DCMAKE_INSTALL_PREFIX={prefix}',
5757
'-DBUILD_SHARED_LIBS=OFF', '-DBUILD_STATIC_LIBS=ON',
58-
'-DBUILD_DEV_TOOLS=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON',
58+
'-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON',
5959
]
6060
if sys.platform == 'win32':
6161
args += ['-A', {'win32': 'Win32', 'win-amd64': 'x64',

‎tools/build_talib_linux.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
TALIB_C_VER="${TALIB_C_VER:=0.8.3}"
3+
TALIB_C_VER="${TALIB_C_VER:=0.8.4}"
44
CMAKE_GENERATOR="Unix Makefiles"
55
CMAKE_BUILD_TYPE=Release
66
CMAKE_CONFIGURATION_TYPES=Release

‎tools/build_talib_macos.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
TALIB_C_VER="${TALIB_C_VER:=0.8.3}"
3+
TALIB_C_VER="${TALIB_C_VER:=0.8.4}"
44
CMAKE_GENERATOR="Unix Makefiles"
55
CMAKE_BUILD_TYPE=Release
66
CMAKE_CONFIGURATION_TYPES=Release

‎tools/build_talib_windows.cmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:: Download and build TA-Lib
22
@echo on
33

4-
if not defined TALIB_C_VER set TALIB_C_VER=0.8.3
4+
if not defined TALIB_C_VER set TALIB_C_VER=0.8.4
55

66
set CMAKE_GENERATOR=NMake Makefiles
77
set CMAKE_BUILD_TYPE=Release

0 commit comments

Comments
 (0)