Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: continuous-integration

on:
push:
branches: [ master, develop, omnitrace ]
branches: [ master, develop, rocprofiler-systems ]
pull_request:
branches: [ master, develop, omnitrace ]
branches: [ master, develop, rocprofiler-systems ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p ${HOME}/miniconda
conda config --set always_yes yes --set changeps1 no
conda create -c conda-forge -c defaults -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest
conda create -c conda-forge -c defaults -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest pip

- name: Install Requirements
run: |
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p ${HOME}/miniconda
conda config --set always_yes yes --set changeps1 no
conda create -c conda-forge -c defaults -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest
conda create -c conda-forge -c defaults -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest pip

- name: Install Requirements
run: |
Expand Down Expand Up @@ -369,7 +369,7 @@ jobs:
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p ${HOME}/miniconda
conda config --set always_yes yes --set changeps1 no
conda create -c defaults -c conda-forge -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest
conda create -c defaults -c conda-forge -n pyctest python=${{ matrix.PYTHON_VERSION }} pyctest pip

- name: Install Requirements
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: formatting

on:
push:
branches: [ master, develop, omnitrace ]
branches: [ master, develop, rocprofiler-systems ]
pull_request:
branches: [ master, develop ]
branches: [ master, develop, rocprofiler-systems ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: python-package

on:
push:
branches: [ master, develop, omnitrace ]
branches: [ master, develop, rocprofiler-systems ]
pull_request:
branches: [ master, develop ]
branches: [ master, develop, rocprofiler-systems ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def get_bool_option(_args, _name, default=False):


def set_cmake_bool_option(opt, enable_opt, disable_opt):
global cmake_args
try:
if enable_opt:
cmake_args.append("-D{}:BOOL={}".format(opt, "ON"))
Expand All @@ -103,8 +102,6 @@ def set_cmake_bool_option(opt, enable_opt, disable_opt):
def add_arg_bool_option(
lc_name, disp_name, default=None, doc="", disp_aliases=[]
):
global parser
global cmake_options

# enable option
parser.add_argument(
Expand Down
1 change: 0 additions & 1 deletion timemory/plotting/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ def echo_dart_tag(name, filepath, img_type=plot_parameters.img_type):
# -------------------------------------------------------------------------------------- #
def add_plotted_files(name, filepath, echo_dart):
"""Adds a file to the plotted file list and print CDash dart string"""
global plotted_files
if echo_dart:
filerealpath = os.path.realpath(filepath)
echo_dart_tag(name, filerealpath)
Expand Down
2 changes: 0 additions & 2 deletions timemory/profiler/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ def exec_(_code_, _globs_=None, _locs_=None):
class Profiler:
"""Provides decorators and context-manager for the timemory profilers"""

global _default_functor

# static variable
_conditional_functor = _default_functor

Expand Down
2 changes: 0 additions & 2 deletions timemory/roofline/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ def plot_impl(args, ai_data, op_data, rank=None, label=None):


def run(args, cmd):
global _errc

if len(cmd) == 0:
return
Expand Down Expand Up @@ -429,7 +428,6 @@ def handle_error(ret, cmd, keep_going):


def try_plot():
global _errc

try:
# look for "--" and interpret anything after that
Expand Down
2 changes: 0 additions & 2 deletions timemory/trace/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ def exec_(_code_, _globs_=None, _locs_=None):
class Tracer:
"""Provides decorators and context-manager for the timemory tracers"""

global _default_functor

# static variable
_conditional_functor = _default_functor

Expand Down
Loading