Skip to content

Commit 8912596

Browse files
committed
renamed C++ tool to aligncount from Aligncount
1 parent 8da5e59 commit 8912596

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.github/workflows/cpp_standalone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
run: cmake --build build -j4
3838

3939
- name: run
40-
run: ./build/Aligncount --help
40+
run: ./build/aligncount --help

cli/entrypoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ def main():
3333
sys.exit(1)
3434

3535
try:
36-
raw = subprocess.check_output(["Aligncount", "-a", args.alignments])
36+
raw = subprocess.check_output(["aligncount", "-a", args.alignments])
3737
except FileNotFoundError:
38-
print("Error: C++ binary 'Aligncount' not found in PATH.", file=sys.stderr)
38+
print("Error: C++ binary 'aligncount' not found in PATH.", file=sys.stderr)
3939
sys.exit(1)
4040
except subprocess.CalledProcessError as e:
41-
print(f"Error: 'Aligncount' failed (exit {e.returncode}).", file=sys.stderr)
41+
print(f"Error: 'aligncount' failed (exit {e.returncode}).", file=sys.stderr)
4242
sys.exit(e.returncode)
4343

4444
# Use our new helper to produce the final string to print

conda-recipe/meta.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{% set REPO_NAME = environ.get('REPO_NAME', 'aligncount') %}
2-
{% set VERSION = environ.get('VERSION', '0.2.81') %}
3-
{% set TAR_URL = environ.get('TAR_URL', 'https://github.com/vr1087/cpp-python-tool-template/archive/refs/tags/v0.2.81.tar.gz') %}
4-
{% set SHA256 = environ.get('SHA256', 'b1e10ade2ae4b183d45a554ae9753b925d601aa56cfad797a6a143e873303105') %}
5-
{% set REPO_HOME = environ.get('REPO_HOME', 'https://github.com/vr1087/cpp-python-tool-template') %}
1+
{% set REPO_NAME = environ.get('REPO_NAME', '') %}
2+
{% set VERSION = environ.get('VERSION', '') %}
3+
{% set TAR_URL = environ.get('TAR_URL', '') %}
4+
{% set SHA256 = environ.get('SHA256', '') %}
5+
{% set REPO_HOME = environ.get('REPO_HOME', '') %}
66

77
package:
88
name: {{ REPO_NAME }}
@@ -18,12 +18,14 @@ build:
1818
- CFLAGS
1919
- CXXFLAGS
2020
script: |
21+
2122
# On Linux aarch64 builds we saw undefined pthread symbols (e.g. pthread_join)
2223
# unless we compile and link with -pthread. Autotools (HTSlib) only picks up
2324
# Conda headers and flags if CFLAGS/CXXFLAGS and LDFLAGS are exported.
2425
# On macOS x86 (SDK < 10.15), Clang’s availability annotations block newer
2526
# libc++ symbols (std::filesystem::path, etc.), so we disable those checks
2627
# with -D_LIBCPP_DISABLE_AVAILABILITY
28+
2729
export CFLAGS="-pthread -I${PREFIX}/include $CFLAGS"
2830
export CXXFLAGS="-pthread -I${PREFIX}/include $CXXFLAGS -D_LIBCPP_DISABLE_AVAILABILITY"
2931
export LDFLAGS="-pthread ${LDFLAGS}"

cpp/standalone/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
2424

2525
add_executable(${PROJECT_NAME} ${sources})
2626

27-
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 20 OUTPUT_NAME "Aligncount")
27+
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 20 OUTPUT_NAME "aligncount")
2828

2929
target_link_libraries(${PROJECT_NAME} Aligncount::Aligncount cxxopts)
3030

0 commit comments

Comments
 (0)