diff --git a/iprbench/benchmarks/hibench.py b/iprbench/benchmarks/hibench.py index 046bdb3..26d9cac 100644 --- a/iprbench/benchmarks/hibench.py +++ b/iprbench/benchmarks/hibench.py @@ -1,7 +1,6 @@ import pandas as pd from pathlib import Path import subprocess -import os import shutil from ..core import IBenchmark, BenchParam, BenchmarkConfig, BenchmarkMeasurements from ..util import get_proxy_env_vars @@ -42,8 +41,6 @@ class HiBench(IBenchmark): def execute(self, config: BenchmarkConfig, benchmark_output_dir: Path) -> BenchmarkMeasurements: git_repos_url = 'https://github.com/hibridon/hibridon' - git_user = 'g-raffy' # os.environ['HIBRIDON_REPOS_USER'] - git_pass_file = f'{os.getenv("HOME")}/.github/personal_access_tokens/bench.hibridon.cluster.ipr.univ-rennes1.fr.pat' hibridon_version = config['hibridon_version'] test_id = config['test_id'] # eg arch4_quick or nh3h2_qma_long compiler_id = config['compiler_id'] @@ -57,8 +54,7 @@ class HiBench(IBenchmark): src_dir = benchmark_output_dir / 'hibridon.git' output_dir = benchmark_output_dir / 'output' - password_provider = f'{{"type": "password-file", "password-file-path": "{git_pass_file}"}}' - source_tree_provider = f'{{"type": "git-cloner", "repos-url": "{git_repos_url}", "src-dir": "{src_dir}", "code-version": "{hibridon_version}", "git-user": "{git_user}", "password-provider": {password_provider}}}' + source_tree_provider = f'{{"type": "git-cloner", "repos-url": "{git_repos_url}", "src-dir": "{src_dir}", "code-version": "{hibridon_version}"}}' benchmark_command = f'ctest --output-on-failure -L ^{test_id}$' cmake_options = [ diff --git a/iprbench/version.py b/iprbench/version.py index ffcc925..156d6f9 100644 --- a/iprbench/version.py +++ b/iprbench/version.py @@ -1 +1 @@ -__version__ = '0.0.3' +__version__ = '0.0.4' diff --git a/pyproject.toml b/pyproject.toml index 5c47d4e..367010e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,8 +15,8 @@ dependencies = [ "sqlalchemy", # "cocluto >= 1.7", "cocluto@git+https://git.ipr.univ-rennes.fr/cellinfo/cocluto@v1.7.0", - # "starbench >= 1.0.1" - "starbench@git+https://github.com/g-raffy/starbench@v1.0.2", + # "starbench >= 1.0.3" + "starbench@git+https://github.com/g-raffy/starbench@v1.0.3", ] requires-python = ">= 3.8" authors = [