diff --git a/.github/workflows/auto_create_PR.yml b/.github/workflows/auto_create_PR.yml deleted file mode 100644 index 5c55cfad49..0000000000 --- a/.github/workflows/auto_create_PR.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Create Pull Request -on: - push: - branches: - - dom_automatic_update -jobs: - create-pull-request: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v2 - - name: pull-request - uses: repo-sync/pull-request@v2 - with: - destination_branch: "master" - github_token: ${{ secrets.GITHUB_TOKEN }} - pr_label: "Automatic PR" - pr_title: "[Dom CI] Tests pass for COSMO, ICON, Icontools and Int2lm" diff --git a/create_new_sysconfig.sh b/create_new_sysconfig.sh deleted file mode 100644 index 85292b8ab5..0000000000 --- a/create_new_sysconfig.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -parent_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) - -. "$parent_dir"/spack/share/spack/setup-env.sh - -mkdir "$parent_dir"/sysconfigs/"$1" - -spack env create "$1" -spack env activate "$1" -spack compiler find -spack external find --all -spack config get compilers > "$parent_dir"/sysconfigs/"$1"/compilers.yaml -spack config get packages > "$parent_dir"/sysconfigs/"$1"/packages.yaml -spack env deactivate -spack env remove "$1" -y diff --git a/status.sh b/status.sh deleted file mode 100644 index cb4fa5175f..0000000000 --- a/status.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -parent_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) - -echo ">>> GIT --VERSION <<<" -git --version -echo "" -echo ">>> GIT STATUS <<<" -git -C "$parent_dir" status -echo "" -echo ">>> PYTHON --VERSION <<<" -python --version -echo "" -echo ">>> PYTHON3 --VERSION <<<" -python3 --version -echo "" -echo ">>> SPACK --VERSION <<<" -spack --version -echo "" -echo ">>> SPACK_SYSTEM_CONFIG_PATH <<<" -echo $SPACK_SYSTEM_CONFIG_PATH -echo "" -echo ">>> MACHINE <<<" -"$parent_dir"/src/machine.sh -echo "" \ No newline at end of file diff --git a/sysconfigs/copy_alps_env_files_from.sh b/sysconfigs/copy_alps_env_files_from.sh deleted file mode 100755 index 8589609a37..0000000000 --- a/sysconfigs/copy_alps_env_files_from.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# Intended use: ./sysconfigs/copy_alps_env_files_from.sh /mch-environment/v8 - -parent_dir=$( cd "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" ; pwd -P ) - -if [[ "$#" == 1 ]]; then - env_path="$1" - machine="$( "$parent_dir"/../src/machine.sh )" -else - echo "Requires path to environment as argument!" - exit 0 -fi - -# Copy files -cp "$env_path"/config/compilers.yaml "$parent_dir/$machine" -cp "$env_path"/config/upstreams.yaml "$parent_dir/$machine" -cp -r "$env_path"/repo/* "$parent_dir"/../repos/alps - -# Display success message -echo "Files copied successfully." diff --git a/tools/package_overlap.py b/tools/package_overlap.py new file mode 100644 index 0000000000..5c33cda5ff --- /dev/null +++ b/tools/package_overlap.py @@ -0,0 +1,7 @@ +import os + +spack = set(os.listdir("./spack/var/spack/repos/builtin/packages")) +spack_c2sm = set(os.listdir("./repos/c2sm/packages")) + +for folder in sorted(spack & spack_c2sm): + print(folder) \ No newline at end of file