From da1904047d4ee4c70fb6244ff88ce17aa135066d Mon Sep 17 00:00:00 2001 From: Julien Bigot Date: Mon, 18 Nov 2024 16:54:50 -0500 Subject: [PATCH] Direct generation of pages --- .github/actions/aggregate/action.yml | 76 ++++++++++ .github/actions/build/action.yml | 57 ++++++++ .github/workflows/build_and_deploy.yml | 63 ++++++++ .github/workflows/pdi-main.yml | 58 -------- .github/workflows/pull.yml | 57 -------- .github/workflows/stable.yml | 57 -------- .github/workflows/wait4upstream.yml | 44 ------ ....ubuntu.tpl.md => INSTALL.debian.tpl.html} | 7 +- ....fedora.tpl.md => INSTALL.fedora.tpl.html} | 7 +- ....debian.tpl.md => INSTALL.ubuntu.tpl.html} | 7 +- README.tpl/README.tpl.html | 21 +++ README.tpl/README.tpl.md | 11 -- README.tpl/index.html | 31 ++++ build.conf | 6 +- flowvr/debian/changelog | 5 - flowvr/debian/compat | 1 - flowvr/debian/control | 42 ------ flowvr/debian/flowvr.links | 59 -------- flowvr/debian/rules | 25 ---- flowvr/debian/source/format | 1 - flowvr/flowvr.spec | 104 -------------- fti/debian/changelog | 12 -- fti/debian/compat | 1 - fti/debian/control | 63 -------- fti/debian/libfti-FLAVOR-1.postinst | 27 ---- fti/debian/libfti-FLAVOR-1.prerm | 13 -- fti/debian/libfti-FLAVOR-dev.postinst | 27 ---- fti/debian/libfti-FLAVOR-dev.prerm | 13 -- fti/debian/libfti-mpich-1.install | 1 - fti/debian/libfti-mpich-dev.install | 3 - fti/debian/libfti-openmpi-1.install | 1 - fti/debian/libfti-openmpi-dev.install | 3 - fti/debian/rules | 80 ----------- fti/debian/source/format | 1 - fti/fti.spec | 134 ------------------ pdiplugin-decl-sion/debian/changelog | 107 -------------- pdiplugin-decl-sion/debian/compat | 1 - pdiplugin-decl-sion/debian/control | 37 ----- .../pdiplugin-decl-sion-FLAVOR.postinst | 27 ---- .../debian/pdiplugin-decl-sion-FLAVOR.prerm | 13 -- .../debian/pdiplugin-decl-sion-mpich.install | 1 - .../pdiplugin-decl-sion-openmpi.install | 1 - .../debian/pdiplugin-decl-sion-serial.install | 1 - pdiplugin-decl-sion/debian/rules | 74 ---------- pdiplugin-decl-sion/debian/source/format | 1 - pdiplugin-decl-sion/pdiplugin-decl-sion.spec | 114 --------------- pdiplugin-flowvr/debian/changelog | 107 -------------- pdiplugin-flowvr/debian/compat | 1 - pdiplugin-flowvr/debian/control | 21 --- pdiplugin-flowvr/debian/rules | 13 -- pdiplugin-flowvr/debian/source/format | 1 - pdiplugin-flowvr/pdiplugin-flowvr.spec | 88 ------------ pdiplugin-fti/debian/changelog | 107 -------------- pdiplugin-fti/debian/compat | 1 - pdiplugin-fti/debian/control | 36 ----- .../debian/pdiplugin-fti-FLAVOR.postinst | 27 ---- .../debian/pdiplugin-fti-FLAVOR.prerm | 13 -- .../debian/pdiplugin-fti-mpich.install | 1 - .../debian/pdiplugin-fti-openmpi.install | 1 - pdiplugin-fti/debian/rules | 79 ----------- pdiplugin-fti/debian/source/format | 1 - pdiplugin-fti/pdiplugin-fti.spec | 115 --------------- 62 files changed, 260 insertions(+), 1847 deletions(-) create mode 100644 .github/actions/aggregate/action.yml create mode 100644 .github/actions/build/action.yml create mode 100644 .github/workflows/build_and_deploy.yml delete mode 100644 .github/workflows/pdi-main.yml delete mode 100644 .github/workflows/pull.yml delete mode 100644 .github/workflows/stable.yml delete mode 100644 .github/workflows/wait4upstream.yml rename README.tpl/{INSTALL.ubuntu.tpl.md => INSTALL.debian.tpl.html} (89%) rename README.tpl/{INSTALL.fedora.tpl.md => INSTALL.fedora.tpl.html} (68%) rename README.tpl/{INSTALL.debian.tpl.md => INSTALL.ubuntu.tpl.html} (90%) create mode 100644 README.tpl/README.tpl.html delete mode 100644 README.tpl/README.tpl.md create mode 100644 README.tpl/index.html delete mode 100644 flowvr/debian/changelog delete mode 100644 flowvr/debian/compat delete mode 100644 flowvr/debian/control delete mode 100755 flowvr/debian/flowvr.links delete mode 100755 flowvr/debian/rules delete mode 100644 flowvr/debian/source/format delete mode 100644 flowvr/flowvr.spec delete mode 100644 fti/debian/changelog delete mode 100644 fti/debian/compat delete mode 100644 fti/debian/control delete mode 100644 fti/debian/libfti-FLAVOR-1.postinst delete mode 100644 fti/debian/libfti-FLAVOR-1.prerm delete mode 100644 fti/debian/libfti-FLAVOR-dev.postinst delete mode 100644 fti/debian/libfti-FLAVOR-dev.prerm delete mode 100644 fti/debian/libfti-mpich-1.install delete mode 100644 fti/debian/libfti-mpich-dev.install delete mode 100644 fti/debian/libfti-openmpi-1.install delete mode 100644 fti/debian/libfti-openmpi-dev.install delete mode 100755 fti/debian/rules delete mode 100644 fti/debian/source/format delete mode 100644 fti/fti.spec delete mode 100644 pdiplugin-decl-sion/debian/changelog delete mode 100644 pdiplugin-decl-sion/debian/compat delete mode 100644 pdiplugin-decl-sion/debian/control delete mode 100644 pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.postinst delete mode 100644 pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.prerm delete mode 100644 pdiplugin-decl-sion/debian/pdiplugin-decl-sion-mpich.install delete mode 100644 pdiplugin-decl-sion/debian/pdiplugin-decl-sion-openmpi.install delete mode 100644 pdiplugin-decl-sion/debian/pdiplugin-decl-sion-serial.install delete mode 100755 pdiplugin-decl-sion/debian/rules delete mode 100644 pdiplugin-decl-sion/debian/source/format delete mode 100644 pdiplugin-decl-sion/pdiplugin-decl-sion.spec delete mode 100644 pdiplugin-flowvr/debian/changelog delete mode 100644 pdiplugin-flowvr/debian/compat delete mode 100644 pdiplugin-flowvr/debian/control delete mode 100755 pdiplugin-flowvr/debian/rules delete mode 100644 pdiplugin-flowvr/debian/source/format delete mode 100644 pdiplugin-flowvr/pdiplugin-flowvr.spec delete mode 100644 pdiplugin-fti/debian/changelog delete mode 100644 pdiplugin-fti/debian/compat delete mode 100644 pdiplugin-fti/debian/control delete mode 100644 pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.postinst delete mode 100644 pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.prerm delete mode 100644 pdiplugin-fti/debian/pdiplugin-fti-mpich.install delete mode 100644 pdiplugin-fti/debian/pdiplugin-fti-openmpi.install delete mode 100755 pdiplugin-fti/debian/rules delete mode 100644 pdiplugin-fti/debian/source/format delete mode 100644 pdiplugin-fti/pdiplugin-fti.spec diff --git a/.github/actions/aggregate/action.yml b/.github/actions/aggregate/action.yml new file mode 100644 index 00000000..349cae57 --- /dev/null +++ b/.github/actions/aggregate/action.yml @@ -0,0 +1,76 @@ +name: Aggregate step +description: 'Aggregate packages from all distributions' +inputs: + GITHUB_TOKEN: + required: true + description: "GITHUB_TOKEN" +runs: + using: "composite" + steps: + - name: Aggregate sources + id: ident + shell: bash + run: | + for DISTRIB in debian fedora ubuntu pdi-main.debian pdi-main.fedora pdi-main.ubuntu + do + CID="$(docker create ghcr.io/pdidev/pkgs/lastbuild:debian /bin/bash)" + docker cp "${CID}:run_id" "${DISTRIB}.run_id" + echo "${DISTRIB}_run_id=$(cat ${DISTRIB}.run_id)\n" >> $GITHUB_OUTPUT + done + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: debian + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.debian_run_id}} + path: _site/debian + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: fedora + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.fedora_run_id}} + path: _site/fedora + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: ubuntu + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.ubuntu_run_id}} + path: _site/ubuntu + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: pdi-main.debian + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.debian_run_id}} + path: _site/pdi-main.debian + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: pdi-main.fedora + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.fedora_run_id}} + path: _site/pdi-main.fedora + - uses: actions/download-artifact@v4 + continue-on-error: true + with: + name: pdi-main.ubuntu + github-token: ${{ inputs.GITHUB_TOKEN }} + run-id: ${{steps.ident.outputs.ubuntu_run_id}} + path: _site/pdi-main.ubuntu + - name: Link to pdi-master + shell: bash + run: | + set -x + ls -R + cd _site + for DISTRIB in debian fedora ubuntu + do + if [ -d "pdi-main.${DISTRIB}" ] + then ln -s "pdi-master.${DISTRIB}" "pdi-main.${DISTRIB}" + fi + done + ls -R + - name: Upload page artifact + uses: actions/upload-pages-artifact@v3 diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml new file mode 100644 index 00000000..44639773 --- /dev/null +++ b/.github/actions/build/action.yml @@ -0,0 +1,57 @@ +name: Build step +description: 'Build pages for a given distribution' +inputs: + GITHUB_TOKEN: + required: true + description: "GITHUB_TOKEN" + KEY_PASSPHRASE: + required: true + description: "KEY_PASSPHRASE" + distribution: + required: true + description: "name of the distribution" +runs: + using: "composite" + steps: + - uses: docker/login-action@v3 + with: { registry: "ghcr.io", username: "${{ github.actor }}", password: "${{ inputs.GITHUB_TOKEN }}" } + - name: Checkout builder script + uses: actions/checkout@v4 + with: + repository: jbigot/pkg_builder + path: pkg_builder + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: '3.8' + - name: Install deps + shell: bash + run: | + #echo ${{ inputs.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin + #curl -o - https://www.aptly.info/pubkey.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aptly.gpg > /dev/null + #echo "deb http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list + #sudo apt-get update + #sudo apt-get upgrade + #sudo apt-get install devscripts equivs aptly + #pip3.8 install -r pkg_builder/requirements.txt + - name: Build packages + env: + KEY_PASSPHRASE: ${{ inputs.KEY_PASSPHRASE }} + DISTRIB: ${{ inputs.distribution }} + shell: bash + run: | + #python3.8 pkg_builder/pkgbuild -D ${DISTRIB} -j 3 -p "${KEY_PASSPHRASE}" + mkdir ${DISTRIB} + echo "test ${DISTRIB} at $(date)" > ${DISTRIB}/index.html + - name: Upload artifact + uses: actions/upload-artifact@v4 + id: artifact + with: + name: ${{ inputs.distribution }} + path: ./${{ inputs.distribution }} + - name: Make artifact descriptor container + shell: bash + run: | + echo "${{ github.run_id }}" > run_id + tar -c run_id | docker import - ghcr.io/pdidev/pkgs/lastbuild:${{ inputs.distribution }} + docker push ghcr.io/pdidev/pkgs/lastbuild:${{ inputs.distribution }} diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml new file mode 100644 index 00000000..baa8a754 --- /dev/null +++ b/.github/workflows/build_and_deploy.yml @@ -0,0 +1,63 @@ +name: 'build & deploy' +on: + pull_request: + push: + branches: [ stable, pdi-main ] + schedule: + - cron: '27 1 3 * *' # monthly build on 1st of each month, 1:27AM => stable + - cron: '27 2 * * *' # daily build at 2:27AM => pdi-main +jobs: + build: + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + distrib: [ debian, fedora, ubuntu ] + steps: + - if: "github.event_name != 'schedule' || github.event.schedule != '27 2 * * *'" + name: Checkout packages + uses: actions/checkout@v4 + - if: github.event.schedule == '27 2 * * *' + name: Checkout packages + uses: actions/checkout@v4 + with: { ref: pdi-main } + - uses: pdidev/pkgs/.github/actions/build@stable + with: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + KEY_PASSPHRASE: "${{ secrets.KEY_PASSPHRASE }}" + distribution: "${{ matrix.distrib }}" + aggregate: + if: ${{ always() && github.event_name != 'pull_request' }} + needs: build + runs-on: ubuntu-20.04 + steps: + - if: "github.event_name != 'schedule' || github.event.schedule != '27 2 * * *'" + name: Checkout packages + uses: actions/checkout@v4 + with: { path: data } + - if: github.event.schedule == '27 2 * * *' + name: Checkout packages + uses: actions/checkout@v4 + with: { path: data, ref: pdi-main } + - name: Aggregate sources + run: | + mkdir _site + cp data/README.tpl/index.html _site + rm -rf data + - uses: pdidev/pkgs/.github/actions/aggregate@stable + with: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + publish: + needs: aggregate + if: "github.event_name != 'pull_request'" + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/pdi-main.yml b/.github/workflows/pdi-main.yml deleted file mode 100644 index e1be1ed6..00000000 --- a/.github/workflows/pdi-main.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: pdi-main build -on: - push: - branches: [ pdi-main ] - schedule: - - cron: '27 2 * * *' # daily build at 2:27AM -jobs: - build_and_publish: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - distrib: [ debian, fedora, ubuntu ] - steps: - - name: Checkout packages - uses: actions/checkout@v4 - with: - ref: pdi-main - - name: Checkout builder script - uses: actions/checkout@v4 - with: - repository: jbigot/pkg_builder - path: pkg_builder - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: '3.8' - - name: Checkout distrib repo - uses: actions/checkout@v4 - with: - repository: pdidev/repo - path: repo.${{ matrix.distrib }} - ssh-key: ${{ secrets.PDIDEV_REPO_KEY }} - - name: Install deps - run: | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin - curl -o - https://www.aptly.info/pubkey.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aptly.gpg > /dev/null - echo "deb http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install devscripts equivs aptly - pip3.8 install -r pkg_builder/requirements.txt - - name: Build packages - env: - KEY_PASSPHRASE: ${{ secrets.KEY_PASSPHRASE }} - DISTRIB: ${{ matrix.distrib }} - NEW_BRANCH: pdi-master. - run: | - git -C repo.${DISTRIB} config user.email "github.action@example.com" - git -C repo.${DISTRIB} config user.name "Github Action" - git -C repo.${DISTRIB} fetch origin ${DISTRIB} - git -C repo.${DISTRIB} checkout --orphan "${NEW_BRANCH}${DISTRIB}" - git -C repo.${DISTRIB} rm -rf . - sed "s%pdidev/repo/%pdidev/repo/${NEW_BRANCH}%g" -i build.conf - python3.8 pkg_builder/pkgbuild -D ${DISTRIB} -j 3 -p "${KEY_PASSPHRASE}" - git -C repo.${DISTRIB} add -A . - git -C repo.${DISTRIB} commit -C origin/${DISTRIB} - git -C repo.${DISTRIB} push -f origin "${NEW_BRANCH}${DISTRIB}" diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml deleted file mode 100644 index c1bcedbb..00000000 --- a/.github/workflows/pull.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Pull request build -on: - pull_request: - push: - branches: [ 'wait4upstream/*' ] -jobs: - build_and_publish: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - distrib: [debian, fedora, ubuntu] - steps: - - name: Checkout packages - uses: actions/checkout@v4 - with: - ref: "${{ github.head_ref }}" - - name: Checkout builder script - uses: actions/checkout@v4 - with: - repository: jbigot/pkg_builder - path: pkg_builder - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: '3.8' - - name: Checkout distrib repo - uses: actions/checkout@v4 - with: - repository: pdidev/repo - path: repo.${{ matrix.distrib }} - ssh-key: ${{ secrets.PDIDEV_REPO_KEY }} - - name: Install deps - run: | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin - curl -o - https://www.aptly.info/pubkey.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aptly.gpg > /dev/null - echo "deb http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install devscripts equivs aptly - pip3.8 install -r pkg_builder/requirements.txt - - name: Build packages - env: - KEY_PASSPHRASE: ${{ secrets.KEY_PASSPHRASE }} - DISTRIB: ${{ matrix.distrib }} - NEW_BRANCH: "${{ github.head_ref }}." - run: | - git -C repo.${DISTRIB} config user.email "github.action@example.com" - git -C repo.${DISTRIB} config user.name "Github Action" - git -C repo.${DISTRIB} fetch origin ${DISTRIB} - git -C repo.${DISTRIB} checkout --orphan "${NEW_BRANCH}${DISTRIB}" - git -C repo.${DISTRIB} rm -rf . - sed "s%pdidev/repo/%pdidev/repo/${NEW_BRANCH}%g" -i build.conf - python3.8 pkg_builder/pkgbuild -D ${DISTRIB} -j 3 -p "${KEY_PASSPHRASE}" - git -C repo.${DISTRIB} add -A . - git -C repo.${DISTRIB} commit -C origin/${DISTRIB} - git -C repo.${DISTRIB} push -f origin "${NEW_BRANCH}${DISTRIB}" diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml deleted file mode 100644 index 2dbec917..00000000 --- a/.github/workflows/stable.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: stable build -on: - push: - branches: [ stable ] - schedule: - - cron: '27 1 3 * *' # monthly build on 1st of each month, 1:27AM -jobs: - build_and_publish: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - distrib: [ debian, fedora, ubuntu ] - steps: - - name: Checkout packages - uses: actions/checkout@v4 - with: - ref: "stable" - - name: Checkout builder script - uses: actions/checkout@v4 - with: - repository: jbigot/pkg_builder - path: pkg_builder - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: '3.8' - - name: Checkout distrib repo - uses: actions/checkout@v4 - with: - repository: pdidev/repo - path: repo.${{ matrix.distrib }} - ssh-key: ${{ secrets.PDIDEV_REPO_KEY }} - - name: Install deps - run: | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin - curl -o - https://www.aptly.info/pubkey.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aptly.gpg > /dev/null - echo "deb http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install devscripts equivs aptly - pip3.8 install -r pkg_builder/requirements.txt - - name: Build packages - env: - KEY_PASSPHRASE: ${{ secrets.KEY_PASSPHRASE }} - DISTRIB: ${{ matrix.distrib }} - run: | - git -C repo.${DISTRIB} config user.email "github.action@example.com" - git -C repo.${DISTRIB} config user.name "Github Action" - git -C repo.${DISTRIB} fetch origin ${DISTRIB} - git -C repo.${DISTRIB} checkout --orphan "${DISTRIB}" - git -C repo.${DISTRIB} rm -rf . - sed "s%pdidev/repo/%pdidev/repo/%g" -i build.conf - python3.8 pkg_builder/pkgbuild -D ${DISTRIB} -j 3 -p "${KEY_PASSPHRASE}" - git -C repo.${DISTRIB} add -A . - git -C repo.${DISTRIB} commit -C origin/${DISTRIB} - git -C repo.${DISTRIB} push -f origin "${DISTRIB}" diff --git a/.github/workflows/wait4upstream.yml b/.github/workflows/wait4upstream.yml deleted file mode 100644 index 3db6e5f0..00000000 --- a/.github/workflows/wait4upstream.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Test PDI issue fix branch -on: - push: - branches: [ 'wait4upstream/*' ] - #TODO: enable scheduled run for the correct branch, - # this would run on the default branch instead - #schedule: - #- cron: '47 3 * * 6' # weekly build on Saturday, 3:47AM -jobs: - build_and_publish: - runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - distrib: [ debian, fedora, ubuntu ] - steps: - - name: Checkout packages - uses: actions/checkout@v4 - with: - ref: "${{ github.head_ref }}" - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: '3.8' - - name: Checkout builder script - uses: actions/checkout@v4 - with: - repository: jbigot/pkg_builder - path: pkg_builder - - name: Install deps - run: | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin - curl -o - https://www.aptly.info/pubkey.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/aptly.gpg > /dev/null - echo "deb http://repo.aptly.info/ squeeze main" | sudo tee /etc/apt/sources.list.d/aptly.list - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install devscripts equivs aptly - pip3.8 install -r pkg_builder/requirements.txt - - name: Build packages - env: - KEY_PASSPHRASE: ${{ secrets.KEY_PASSPHRASE }} - DISTRIB: ${{ matrix.distrib }} - run: | - python3.8 pkg_builder/pkgbuild -D ${DISTRIB} -j 3 -p "${KEY_PASSPHRASE}" diff --git a/README.tpl/INSTALL.ubuntu.tpl.md b/README.tpl/INSTALL.debian.tpl.html similarity index 89% rename from README.tpl/INSTALL.ubuntu.tpl.md rename to README.tpl/INSTALL.debian.tpl.html index 0178e867..5fc67655 100644 --- a/README.tpl/INSTALL.ubuntu.tpl.md +++ b/README.tpl/INSTALL.debian.tpl.html @@ -1,9 +1,8 @@ -### On ${dist_release} - -``` +

On ${dist_release}

+ echo "deb [ arch=amd64 ] ${baseurl} ${codename} main" | sudo tee /etc/apt/sources.list.d/pdi.list > /dev/null sudo wget -O /etc/apt/trusted.gpg.d/pdidev-archive-keyring.gpg ${baseurl}/pdidev-archive-keyring.gpg sudo chmod a+r /etc/apt/trusted.gpg.d/pdidev-archive-keyring.gpg /etc/apt/sources.list.d/pdi.list sudo apt update sudo apt install pdidev-archive-keyring libpdi-dev pdiplugin-all -``` + diff --git a/README.tpl/INSTALL.fedora.tpl.md b/README.tpl/INSTALL.fedora.tpl.html similarity index 68% rename from README.tpl/INSTALL.fedora.tpl.md rename to README.tpl/INSTALL.fedora.tpl.html index 94f94c16..e26bd680 100644 --- a/README.tpl/INSTALL.fedora.tpl.md +++ b/README.tpl/INSTALL.fedora.tpl.html @@ -1,6 +1,5 @@ -### On ${dist_release} - -``` +

On ${dist_release}

+ sudo wget -O /etc/yum.repos.d/pdidev.repo ${baseurl}/pdidev.repo sudo dnf install pdi-devel -``` + diff --git a/README.tpl/INSTALL.debian.tpl.md b/README.tpl/INSTALL.ubuntu.tpl.html similarity index 90% rename from README.tpl/INSTALL.debian.tpl.md rename to README.tpl/INSTALL.ubuntu.tpl.html index 0178e867..bf35c429 100644 --- a/README.tpl/INSTALL.debian.tpl.md +++ b/README.tpl/INSTALL.ubuntu.tpl.html @@ -1,9 +1,8 @@ -### On ${dist_release} - -``` +

On ${dist_release}

+ echo "deb [ arch=amd64 ] ${baseurl} ${codename} main" | sudo tee /etc/apt/sources.list.d/pdi.list > /dev/null sudo wget -O /etc/apt/trusted.gpg.d/pdidev-archive-keyring.gpg ${baseurl}/pdidev-archive-keyring.gpg sudo chmod a+r /etc/apt/trusted.gpg.d/pdidev-archive-keyring.gpg /etc/apt/sources.list.d/pdi.list sudo apt update sudo apt install pdidev-archive-keyring libpdi-dev pdiplugin-all -``` + diff --git a/README.tpl/README.tpl.html b/README.tpl/README.tpl.html new file mode 100644 index 00000000..54b41b62 --- /dev/null +++ b/README.tpl/README.tpl.html @@ -0,0 +1,21 @@ + + + + +${distribs} PDI repository + + +

${distribs} package repository for PDI and related software

+

+This is the repository that holds the ${distribs} packages of PDI and related projects. +

+

+The list of repositories for all distributions is available at: https://github.com/pdidev/repo/ +

+

Install the packages

+

+To actually install the packages, use the following instructions. +

+${install} + + diff --git a/README.tpl/README.tpl.md b/README.tpl/README.tpl.md deleted file mode 100644 index 81c1ff94..00000000 --- a/README.tpl/README.tpl.md +++ /dev/null @@ -1,11 +0,0 @@ -# ${distribs} package repository for PDI and related software - -This is the repository that holds the ${distribs} packages of PDI and related projects. - -The list of repositories for all distributions is available at: https://github.com/pdidev/repo/ - -## Install the packages - -To actually install the packages, use the following instructions. - -${install} diff --git a/README.tpl/index.html b/README.tpl/index.html new file mode 100644 index 00000000..aea20749 --- /dev/null +++ b/README.tpl/index.html @@ -0,0 +1,31 @@ + + + + +PDI repository + + +

Package repositories for PDI and related software

+

+This is the package repository for PDI and related projects. +

+

+You can find the packages and installation instruction for specific distributions at: +

+ +

+If you look for the latest development version of PDI (WARNING: this can be unstable), you can try these instead: +

+ +

About

+

+The packages are built using pkgbuild from the source packages in https://github.com/pdidev/pkgs +

diff --git a/build.conf b/build.conf index 77033dfc..67d5e90c 100644 --- a/build.conf +++ b/build.conf @@ -11,19 +11,19 @@ distribs: versions: [ supported, testing, sid ] repository: <<: *repository - path: "repo.debian" + path: "debian" url: "https://repo.pdi.dev/debian/" ubuntu: <<: *distribution repository: <<: *repository - path: "repo.ubuntu" + path: "ubuntu" url: "https://repo.pdi.dev/ubuntu/" fedora: <<: *distribution repository: <<: *repository - path: "repo.fedora" + path: "fedora" url: "https://repo.pdi.dev/fedora/" packages: paraconf: diff --git a/flowvr/debian/changelog b/flowvr/debian/changelog deleted file mode 100644 index e5b6a328..00000000 --- a/flowvr/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -flowvr (2.3.2-1) unstable devel; urgency=medium - - * Initial Release - - -- Julien Bigot Wed, 25 Nov 2020 22:01:53 +0100 diff --git a/flowvr/debian/compat b/flowvr/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/flowvr/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/flowvr/debian/control b/flowvr/debian/control deleted file mode 100644 index f95fd92f..00000000 --- a/flowvr/debian/control +++ /dev/null @@ -1,42 +0,0 @@ -Source: flowvr -Section: libdevel -Priority: optional -Maintainer: Julien Bigot -Build-Depends: debhelper (>= 11), dh-exec, dh-python, - cmake (>= 3.0), - doxygen, - freeglut3-dev, - graphviz, - libglew-dev, - libgraphviz-dev, - libhwloc-dev, - libopenmpi-dev, - libxi-dev, - libxml2-dev, - libxmu-dev, - libxslt1-dev, - mesa-common-dev, - python3-dev, - swig -Standards-Version: 4.5.0 -Homepage: http://flowvr.sourceforge.net/ - -Package: flowvr -Architecture: any -Section: libs -Depends: ${shlibs:Depends}, ${misc:Depends}, - freeglut3-dev, - libglew-dev, - libgraphviz-dev, - libhwloc-dev, - libopenmpi-dev, - libxi-dev, - libxml2-dev, - libxmu-dev, - libxslt1-dev, - mesa-common-dev -Description: the FlowVR in situ and in transit processing middleware - FlowVR is an open source middleware to augment parallel simulations running on - thousands of cores with in situ processing capabilities and live steering. - FlowVR offers a very flexible environment while enabling high performance - asynchronous in situ and in transit processing. diff --git a/flowvr/debian/flowvr.links b/flowvr/debian/flowvr.links deleted file mode 100755 index 19989ce1..00000000 --- a/flowvr/debian/flowvr.links +++ /dev/null @@ -1,59 +0,0 @@ -#! /usr/bin/dh-exec - -/opt/flowvr/bin/flowvr /usr/bin/flowvr -/opt/flowvr/bin/flowvr-config.sh /usr/bin/flowvr-config.sh -/opt/flowvr/bin/flowvr-demo-fluid.sh /usr/bin/flowvr-demo-fluid.sh -/opt/flowvr/bin/flowvr-demo-primes.sh /usr/bin/flowvr-demo-primes.sh -/opt/flowvr/bin/flowvr-demo-tictac.sh /usr/bin/flowvr-demo-tictac.sh -/opt/flowvr/bin/flowvr-fdump /usr/bin/flowvr-fdump -/opt/flowvr/bin/flowvr-gltrace /usr/bin/flowvr-gltrace -/opt/flowvr/bin/flowvr-kill /usr/bin/flowvr-kill -/opt/flowvr/bin/flowvr-relocate.sh /usr/bin/flowvr-relocate.sh -/opt/flowvr/bin/flowvr-run-env /usr/bin/flowvr-run-env -/opt/flowvr/bin/flowvr-run-ssh /usr/bin/flowvr-run-ssh -/opt/flowvr/bin/flowvr-setup-shmem /usr/bin/flowvr-setup-shmem -/opt/flowvr/bin/flowvr-shmdump /usr/bin/flowvr-shmdump -/opt/flowvr/bin/flowvr-stats /usr/bin/flowvr-stats -/opt/flowvr/bin/flowvr-suite-config.sh /usr/bin/flowvr-suite-config.sh -/opt/flowvr/bin/flowvr-term /usr/bin/flowvr-term -/opt/flowvr/bin/flowvrd /usr/bin/flowvrd - -/opt/flowvr/lib/flowvr/python/cflowvr.py ${PYTHON_LIBS_INSTALL_DIR}/cflowvr.py -/opt/flowvr/lib/flowvr/python/_cflowvr.so ${PYTHON_LIBS_INSTALL_DIR}/_cflowvr.so -/opt/flowvr/lib/flowvr/python/filters.py ${PYTHON_LIBS_INSTALL_DIR}/filters.py -/opt/flowvr/lib/flowvr/python/flowvrapp_pdi.py ${PYTHON_LIBS_INSTALL_DIR}/flowvrapp_pdi.py -/opt/flowvr/lib/flowvr/python/flowvrapp.py ${PYTHON_LIBS_INSTALL_DIR}/flowvrapp.py -/opt/flowvr/lib/flowvr/python/flowvr.py ${PYTHON_LIBS_INSTALL_DIR}/flowvr.py -/opt/flowvr/lib/flowvr/python/spy_module.py ${PYTHON_LIBS_INSTALL_DIR}/spy_module.py -/opt/flowvr/lib/flowvr/python/traces.py ${PYTHON_LIBS_INSTALL_DIR}/traces.py - -/opt/flowvr/lib/flowvr/plugins /usr/lib/${DEB_HOST_MULTIARCH}/flowvr/plugins - -/opt/flowvr/lib/libflowvr-utils.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-utils.so.2.3.2 -/opt/flowvr/lib/libflowvr-utils.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-utils.so.2 -/opt/flowvr/lib/libflowvr-utils.so /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-utils.so -/opt/flowvr/lib/libflowvr-base.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-base.so.2.3.2 -/opt/flowvr/lib/libflowvr-base.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-base.so.2 -/opt/flowvr/lib/libflowvr-base.so /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-base.so -/opt/flowvr/lib/libflowvr-mod.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-mod.so.2.3.2 -/opt/flowvr/lib/libflowvr-mod.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-mod.so.2 -/opt/flowvr/lib/libflowvr-mod.so /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-mod.so -/opt/flowvr/lib/libflowvr-plugd.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-plugd.so.2.3.2 -/opt/flowvr/lib/libflowvr-plugd.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-plugd.so.2 -/opt/flowvr/lib/libflowvr-plugd.so /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-plugd.so -/opt/flowvr/lib/libflowvr-commands.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-commands.so.2.3.2 -/opt/flowvr/lib/libflowvr-commands.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-commands.so.2 -/opt/flowvr/lib/libflowvr-commands.so /usr/lib/${DEB_HOST_MULTIARCH}/libflowvr-commands.so - -/opt/flowvr/lib/libftlm.so.2.3.2 /usr/lib/${DEB_HOST_MULTIARCH}/libftlm.so.2.3.2 -/opt/flowvr/lib/libftlm.so.2 /usr/lib/${DEB_HOST_MULTIARCH}/libftlm.so.2 -/opt/flowvr/lib/libftlm.so /usr/lib/${DEB_HOST_MULTIARCH}/libftlm.so - -/opt/flowvr/lib/libfca.so /usr/lib/${DEB_HOST_MULTIARCH}/libfca.so - -/opt/flowvr/share/flowvr/doc/FlowVR/flowvr-base.tag /usr/share/doc/flowvr/flowvr-base.tag -/opt/flowvr/share/flowvr/doc/FlowVR/html/ /usr/share/doc/flowvr/html - -/opt/flowvr/include/flowvr /usr/include/flowvr -/opt/flowvr/include/ftl /usr/include/ftl -/opt/flowvr/include/fca /usr/include/fca diff --git a/flowvr/debian/rules b/flowvr/debian/rules deleted file mode 100755 index 21105a7e..00000000 --- a/flowvr/debian/rules +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -include /usr/share/dpkg/architecture.mk -export PYTHON_LIBS_INSTALL_DIR = $(shell /usr/bin/python3 -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(plat_specific=False))") - -%: - dh $@ --parallel --with python3 - -override_dh_auto_configure: - dh_auto_configure --parallel -- \ - -DOpenGL_GL_PREFERENCE=LEGACY \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_FLOWVRD_MPI_PLUGIN=OFF \ - -DBUILD_FLOWVR_CONTRIB=OFF \ - -DBUILD_FLOWVR_DOXYGEN=ON \ - -DBUILD_FLOWVR_GLGRAPH=OFF \ - -DBUILD_FLOWVR_GLTRACE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/flowvr - -override_dh_shlibdeps: - dh_shlibdeps -l/opt/flowvr/lib diff --git a/flowvr/debian/source/format b/flowvr/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/flowvr/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/flowvr/flowvr.spec b/flowvr/flowvr.spec deleted file mode 100644 index 0b7de001..00000000 --- a/flowvr/flowvr.spec +++ /dev/null @@ -1,104 +0,0 @@ -Name: flowvr -Version: 2.3.2 -Release: 0 -License: LGPLv2 -Group: Development/Libraries/C and C++ -Summary: the FlowVR in situ and in transit processing middleware -Url: http://flowvr.sourceforge.net/FlowVRDoc.html -Source0: https://gitlab.inria.fr/%{name}/%{name}-ex/-/archive/v%{version}/%{name}-ex-v%{version}.tar.gz -BuildRequires: gcc, gcc-c++, make, cmake >= 3.5 -BuildRequires: chrpath -BuildRequires: doxygen -BuildRequires: freeglut-devel -BuildRequires: glew-devel -BuildRequires: graphviz -BuildRequires: graphviz-devel -BuildRequires: hwloc-devel -BuildRequires: libXi-devel -BuildRequires: libxml2-devel -BuildRequires: libXmu-devel -BuildRequires: libxslt-devel -BuildRequires: mesa-libEGL-devel -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -BuildRequires: openmpi-devel -BuildRequires: python3-devel -BuildRequires: swig -Requires: hwloc-devel -Requires: openmpi-devel -Requires: python3-yaml - -%description -FlowVR is an open source middleware to augment parallel simulations running on -thousands of cores with in situ processing capabilities and live steering. -FlowVR offers a very flexible environment while enabling high performance -asynchronous in situ and in transit processing. - -%prep -%autosetup -n %{name}-ex-v%{version} - -%build -%cmake \ - -DOpenGL_GL_PREFERENCE=LEGACY \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_FLOWVRD_MPI_PLUGIN=OFF \ - -DBUILD_FLOWVR_CONTRIB=OFF \ - -DBUILD_FLOWVR_DOXYGEN=ON \ - -DBUILD_FLOWVR_GLGRAPH=OFF \ - -DBUILD_FLOWVR_GLTRACE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/%{name} -%cmake_build - -%install -rm -rf $RPM_BUILD_ROOT -%cmake_install -# remove rpath from the libs as it is wrong -chrpath -d %{buildroot}/opt/%{name}/lib/flowvr/python/*.so -# We remove this as it is not python3 compatible -rm %{buildroot}/opt/%{name}/lib/flowvr/python/spy_module.py -# Link from /opt to the expected locations -mkdir -p %{buildroot}%{_bindir} -for N in flowvr flowvrd flowvr-fdump flowvr-gltrace flowvr-kill flowvr-run-env flowvr-run-ssh flowvr-setup-shmem flowvr-shmdump flowvr-stats flowvr-term -do - %{__ln_s} -f "/opt/%{name}/bin/${N}" "%{buildroot}%{_bindir}/${N}" -done -mkdir -p %{buildroot}%{_includedir} -cd %{buildroot}/opt/%{name}/include -for N in * -do - %{__ln_s} -f "/opt/%{name}/include/${N}" "%{buildroot}%{_includedir}/${N}" -done -mkdir -p %{buildroot}%{_libdir} -cd %{buildroot}/opt/%{name}/lib -for N in * -do - %{__ln_s} -f "/opt/%{name}/lib/${N}" "%{buildroot}%{_libdir}/${N}" -done -mkdir -p %{buildroot}%{python3_sitelib} -cd %{buildroot}/opt/%{name}/lib/flowvr/python/ -for N in * -do - %{__ln_s} -f "/opt/%{name}/lib/flowvr/python/${N}" "%{buildroot}%{python3_sitelib}/${N}" -done -mkdir -p %{buildroot}%{_docdir} -%{__ln_s} -f "/opt/%{name}/share/flowvr/doc/FlowVR" "%{buildroot}%{_docdir}/%{name}" - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%docdir /opt/%{name}/share/flowvr/doc/ -%docdir /opt/%{name}/share/flowvr/examples/ -/opt/%{name} -%{_bindir}/* -%{_includedir}/* -%{_libdir}/* -%{python3_sitelib}/* -%doc %{_docdir}/%{name} -%license flowvr/flowvr-base/COPYING - -%changelog -* Sat Mar 05 2022 - Julien Bigot -- updated cmake invocation to be compatible with Fedora 36+ -* Wed Nov 25 2020 - Julien Bigot -- Initial Release diff --git a/fti/debian/changelog b/fti/debian/changelog deleted file mode 100644 index c4dae69c..00000000 --- a/fti/debian/changelog +++ /dev/null @@ -1,12 +0,0 @@ -fti (1.6-1) unstable devel; urgency=medium - - * Bump version to 1.6 - * Add cmake dir to the alternative system - - -- Julien Bigot Fri, 07 Jan 2022 16:19:59 +0100 - -fti (1.5.1-1) unstable devel; urgency=medium - - * Initial Release - - -- Julien Bigot Sun, 06 Dec 2020 17:40:36 +0100 diff --git a/fti/debian/compat b/fti/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/fti/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/fti/debian/control b/fti/debian/control deleted file mode 100644 index 99fcaf30..00000000 --- a/fti/debian/control +++ /dev/null @@ -1,63 +0,0 @@ -Source: fti -Section: libdevel -Priority: optional -Maintainer: Julien Bigot -Build-Depends: debhelper (>= 11), - cmake (>= 3.4), - libmpich-dev, - libopenmpi-dev, - libssl-dev, - mpi-default-dev, - mpich, - openmpi-bin -Standards-Version: 4.5.0 -Homepage: https://github.com/leobago/fti - - -Package: libfti-openmpi-1 -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Provides: libfti1 -Description: a library for fast and efficient multilevel checkpointing - FTI stands for Fault Tolerance Interface and is a library that aims to give - computational scientists the means to perform fast and efficient multilevel - checkpointing in large scale supercomputers - - -Package: libfti-mpich-1 -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Provides: libfti1 -Description: a library for fast and efficient multilevel checkpointing - FTI stands for Fault Tolerance Interface and is a library that aims to give - computational scientists the means to perform fast and efficient multilevel - checkpointing in large scale supercomputers - - -Package: libfti-openmpi-dev -Architecture: any -Section: libs -Depends: ${shlibs:Depends}, ${misc:Depends}, - libfti-openmpi-1 (= ${binary:Version}), - libssl-dev, - openmpi-bin, libopenmpi-dev -Provides: libfti-dev -Description: a library for fast and efficient multilevel checkpointing - FTI stands for Fault Tolerance Interface and is a library that aims to give - computational scientists the means to perform fast and efficient multilevel - checkpointing in large scale supercomputers - - -Package: libfti-mpich-dev -Architecture: any -Section: libs -Depends: ${shlibs:Depends}, ${misc:Depends}, - libfti-mpich-1 (= ${binary:Version}), - libssl-dev, - mpich, libmpich-dev -Description: a library for fast and efficient multilevel checkpointing - FTI stands for Fault Tolerance Interface and is a library that aims to give - computational scientists the means to perform fast and efficient multilevel - checkpointing in large scale supercomputers diff --git a/fti/debian/libfti-FLAVOR-1.postinst b/fti/debian/libfti-FLAVOR-1.postinst deleted file mode 100644 index a1309a84..00000000 --- a/fti/debian/libfti-FLAVOR-1.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#! -set -e - -case #FLAVOR# in -#ARCH_DEFAULT_MPI_IMPL#) - PRIORITY=30 - ;; -*) - PRIORITY=10 - ;; -esac - -case "$1" in -configure) - update-alternatives \ - --install \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libfti.so \ - libfti.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/fti/#FLAVOR#/libfti.so \ - ${PRIORITY} -;; -*) - # nothing to do -;; -esac - -#DEBHELPER# diff --git a/fti/debian/libfti-FLAVOR-1.prerm b/fti/debian/libfti-FLAVOR-1.prerm deleted file mode 100644 index b63ffbbb..00000000 --- a/fti/debian/libfti-FLAVOR-1.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! -set -e - -case "$1" in -*) - update-alternatives \ - --remove \ - libfti.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/fti/#FLAVOR#/libfti.so -;; -esac - -#DEBHELPER# diff --git a/fti/debian/libfti-FLAVOR-dev.postinst b/fti/debian/libfti-FLAVOR-dev.postinst deleted file mode 100644 index 2d35c061..00000000 --- a/fti/debian/libfti-FLAVOR-dev.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#! -set -e - -case #FLAVOR# in -#ARCH_DEFAULT_MPI_IMPL#) - PRIORITY=30 - ;; -*) - PRIORITY=10 - ;; -esac - -case "$1" in -configure) - update-alternatives \ - --install \ - /usr/share/FTI \ - share-FTI \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/fti/#FLAVOR#/share/FTI \ - ${PRIORITY} -;; -*) - # nothing to do -;; -esac - -#DEBHELPER# diff --git a/fti/debian/libfti-FLAVOR-dev.prerm b/fti/debian/libfti-FLAVOR-dev.prerm deleted file mode 100644 index 8216f367..00000000 --- a/fti/debian/libfti-FLAVOR-dev.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! -set -e - -case "$1" in -*) - update-alternatives \ - --remove \ - share-FTI \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/fti/#FLAVOR#/share/FTI -;; -esac - -#DEBHELPER# diff --git a/fti/debian/libfti-mpich-1.install b/fti/debian/libfti-mpich-1.install deleted file mode 100644 index 0f8c0224..00000000 --- a/fti/debian/libfti-mpich-1.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/fti/mpich/libfti.so diff --git a/fti/debian/libfti-mpich-dev.install b/fti/debian/libfti-mpich-dev.install deleted file mode 100644 index 80a89c57..00000000 --- a/fti/debian/libfti-mpich-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/include/fti/mpich/* -usr/lib/*/fti/mpich/*.a -usr/lib/*/fti/mpich/share/FTI diff --git a/fti/debian/libfti-openmpi-1.install b/fti/debian/libfti-openmpi-1.install deleted file mode 100644 index 31effad8..00000000 --- a/fti/debian/libfti-openmpi-1.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/fti/openmpi/libfti.so diff --git a/fti/debian/libfti-openmpi-dev.install b/fti/debian/libfti-openmpi-dev.install deleted file mode 100644 index 925f6cde..00000000 --- a/fti/debian/libfti-openmpi-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/include/fti/openmpi/* -usr/lib/*/fti/openmpi/*.a -usr/lib/*/fti/openmpi/share/FTI diff --git a/fti/debian/rules b/fti/debian/rules deleted file mode 100755 index 60a9262f..00000000 --- a/fti/debian/rules +++ /dev/null @@ -1,80 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -include /usr/share/dpkg/architecture.mk -include /usr/share/mpi-default-dev/debian_defaults -FLAVORS = $(shell dh_listpackages | grep '^libfti-.*-dev' | sed 's/^libfti-\(.*\)-dev/\1/') -# openmpi < 4.0.2 does not support running as root -ifneq (,$(filter buster bionic, $(DEB_BUILD_PROFILES))) - DISABLED_TESTS_FLAVOR = openmpi -else - DISABLED_TESTS_FLAVOR = no_flavor -endif - - -%: - dh $@ --parallel - -override_dh_auto_clean: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_clean -Bbuild-$${FLAVOR} -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev ;\ - done - -override_dh_auto_configure: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_configure -Bbuild-$${FLAVOR} -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev -- \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/fti/$${FLAVOR}/ \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/fti/$${FLAVOR}/ \ - -DCMAKE_INSTALL_PREFIX=/usr/lib/$(DEB_HOST_MULTIARCH)/fti/$${FLAVOR}/ \ - -DENABLE_EXAMPLES=OFF \ - -DENABLE_OPENSSL=ON \ - -DMPI_C_COMPILER=mpicc.$${FLAVOR} \ - -DMPI_CXX_COMPILER=mpicxx.$${FLAVOR} \ - -DMPI_Fortran_COMPILER=mpif90.$${FLAVOR} \ - -DMPIEXEC_EXECUTABLE=/usr/bin/mpiexec.$${FLAVOR} ;\ - done - -override_dh_auto_build: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_build -Bbuild-$${FLAVOR} -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev ;\ - done - -override_dh_auto_test: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 OMPI_MCA_rmaps_base_oversubscribe=1 ;\ - export PDI_PLUGIN_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/pdi/plugins_$(PKG_VERSION)/$${FLAVOR} ;\ - [ $${FLAVOR} = "$(DISABLED_TESTS_FLAVOR)" ] || dh_auto_test -Bbuild-$${FLAVOR} -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev ;\ - done - -override_dh_auto_install: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_install -Bbuild-$${FLAVOR} -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev ;\ - done - -override_dh_installdeb: - # execute_before_dh_installdeb is not available before debhelper 12 - # dh_installdeb -D is not available before debhelper 13, we use sed - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - for SUFFIX in prerm postinst ;\ - do sed \ - -e 's/#ARCH_DEFAULT_MPI_IMPL#/$(ARCH_DEFAULT_MPI_IMPL)/g' \ - -e "s/#FLAVOR#/$${FLAVOR}/g" \ - debian/libfti-FLAVOR-1.$${SUFFIX} > debian/libfti-$${FLAVOR}-1.$${SUFFIX} ;\ - sed \ - -e 's/#ARCH_DEFAULT_MPI_IMPL#/$(ARCH_DEFAULT_MPI_IMPL)/g' \ - -e "s/#FLAVOR#/$${FLAVOR}/g" \ - debian/libfti-FLAVOR-dev.$${SUFFIX} > debian/libfti-$${FLAVOR}-dev.$${SUFFIX} ;\ - done ;\ - dh_installdeb -plibfti-$${FLAVOR}-1 -plibfti-$${FLAVOR}-dev ;\ - done - diff --git a/fti/debian/source/format b/fti/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/fti/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/fti/fti.spec b/fti/fti.spec deleted file mode 100644 index 37f901ca..00000000 --- a/fti/fti.spec +++ /dev/null @@ -1,134 +0,0 @@ -%define _sover 1 -Name: fti -Version: 1.6 -Release: 0 -License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Summary: a library for fast and efficient multilevel checkpointing -Url: https://github.com/leobago/%{name} -Source0: https://github.com/leobago/%{name}/archive/refs/tags/v%{version}.tar.gz -BuildRequires: gcc, gcc-c++, make, cmake >= 3.4 -BuildRequires: openssl-devel, zlib-devel - -%description -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%package headers -Summary: a library for fast and efficient multilevel checkpointing -BuildArch: noarch - -%description headers -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%package openmpi-devel -Summary: a library for fast and efficient multilevel checkpointing, OpenMPI version -BuildRequires: openmpi-devel -Requires: openmpi-devel -Requires: openssl-devel, zlib-devel -Requires: %{name}-headers = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: lib%{name}-openmpi-%{_sover}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description openmpi-devel -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%package -n lib%{name}-openmpi-%{_sover} -Summary: a library for fast and efficient multilevel checkpointing, OpenMPI version -BuildRequires: openmpi-devel - -%description -n lib%{name}-openmpi-%{_sover} -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%package mpich-devel -Summary: a library for fast and efficient multilevel checkpointing, MPich version -BuildRequires: mpich-devel -Requires: mpich-devel -Requires: openssl-devel, zlib-devel -Requires: %{name}-headers = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: lib%{name}-mpich-%{_sover}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description mpich-devel -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%package -n lib%{name}-mpich-%{_sover} -Summary: a library for fast and efficient multilevel checkpointing, MPich version -BuildRequires: mpich-devel - -%description -n lib%{name}-mpich-%{_sover} -FTI stands for Fault Tolerance Interface and is a library that aims to give -computational scientists the means to perform fast and efficient multilevel -checkpointing in large scale supercomputers - -%prep -%autosetup - -%build -for MPI_VERSION in openmpi mpich -do -mkdir -p build-${MPI_VERSION} -module load mpi/${MPI_VERSION}-%{_arch} -%cmake -B build-${MPI_VERSION} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=${MPI_LIB} \ - -DENABLE_EXAMPLES=OFF \ - -DENABLE_OPENSSL=ON \ - -DINSTALL_CMAKEDIR=${MPI_BIN}/../share/FTI/cmake -%make_build -C build-${MPI_VERSION} -module purge -done - -%install -rm -rf $RPM_BUILD_ROOT -for MPI_VERSION in openmpi mpich -do -module load mpi/${MPI_VERSION}-%{_arch} -%make_install -C build-${MPI_VERSION} -module purge -done - -%clean -rm -rf $RPM_BUILD_ROOT - -%files headers -%license LICENSE -%doc README.md -%{_includedir}/* - -%files openmpi-devel -%license LICENSE -%doc README.md -%{_libdir}/openmpi/share/FTI -%{_libdir}/openmpi/lib/*.a - -%files -n lib%{name}-openmpi-%{_sover} -%license LICENSE -%doc README.md -%{_libdir}/openmpi/lib/*.so - -%files mpich-devel -%license LICENSE -%doc README.md -%{_libdir}/mpich/share/FTI -%{_libdir}/mpich/lib/*.a - -%files -n lib%{name}-mpich-%{_sover} -%license LICENSE -%doc README.md -%{_libdir}/mpich/lib/*.so - -%changelog -* Sat Mar 05 2022 - Julien Bigot -- updated cmake invocation to be compatible with Fedora 36+ -* Mon Jan 03 2022 - Julien Bigot -- Bump version to 1.6 -* Wed Nov 25 2020 - Julien Bigot -- Initial Release diff --git a/pdiplugin-decl-sion/debian/changelog b/pdiplugin-decl-sion/debian/changelog deleted file mode 100644 index 17f30118..00000000 --- a/pdiplugin-decl-sion/debian/changelog +++ /dev/null @@ -1,107 +0,0 @@ -pdiplugin-decl-sion (1.7.1-1) unstable devel; urgency=medium - - * Upstream release 1.7.1 - - -- Julien Bigot Sun, 21 Jul 2024 17:45:08 +0200 - -pdiplugin-decl-sion (1.6.0-1) unstable devel; urgency=medium - - * Upstream release 1.6.0 - - -- Julien Bigot Thu, 09 Mar 2023 09:25:19 +0100 - -pdiplugin-decl-sion (1.5.5-1) unstable devel; urgency=medium - - * Upstream release 1.5.5 - - -- Julien Bigot Thu, 03 Nov 2022 14:01:25 +0100 - -pdiplugin-decl-sion (1.5.4-1) unstable devel; urgency=medium - - * Upstream release 1.5.4 - - -- Julien Bigot Sat, 11 Jun 2022 15:39:13 +0200 - -pdiplugin-decl-sion (1.5.3-1) unstable devel; urgency=medium - - * Upstream release 1.5.3 - - -- Julien Bigot Tue, 31 May 2022 09:38:20 +0200 - -pdiplugin-decl-sion (1.5.1-1) unstable devel; urgency=medium - - * Upstream release 1.5.1 - - -- Julien Bigot Fri, 01 Apr 2022 10:01:21 +0200 - -pdiplugin-decl-sion (1.5.0-1) unstable devel; urgency=medium - - * Upstream release 1.5.0 - - -- Julien Bigot Wed, 30 Mar 2022 20:41:26 +0200 - -pdiplugin-decl-sion (1.4.3-1) unstable devel; urgency=medium - - * Upstream release 1.4.3 - - -- Julien Bigot Tue, 16 Nov 2021 13:57:42 -0600 - -pdiplugin-decl-sion (1.4.1-1) unstable devel; urgency=medium - - * Upstream release 1.4.1 - - -- Julien Bigot Mon, 15 Nov 2021 11:27:57 -0600 - -pdiplugin-decl-sion (1.4.0-1) unstable devel; urgency=medium - - * Upstream release 1.4.0 - - -- Julien Bigot Tue, 09 Nov 2021 12:20:22 +0100 - -pdiplugin-decl-sion (1.3.1-1) unstable devel; urgency=medium - - * Upstream release 1.3.1 - - -- Karol Sierociński Tue, 03 Aug 2021 14:45:11 +0200 - -pdiplugin-decl-sion (1.3.0-1) unstable devel; urgency=medium - - * Upstream release 1.3.0 - - -- Julien Bigot Sun, 01 Aug 2021 15:37:27 +0200 - -pdiplugin-decl-sion (1.2.2-1) unstable devel; urgency=medium - - * Upstream release 1.2.2 - - -- Julien Bigot Sat, 19 Jun 2021 16:51:18 +0200 - -pdiplugin-decl-sion (1.2.1-1) unstable devel; urgency=medium - - * Upstream release 1.2.1 - - -- Julien Bigot Thu, 17 Jun 2021 11:20:38 +0200 - -pdiplugin-decl-sion (1.2.0-1) unstable devel; urgency=medium - - * Upstream release 1.2.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:45:28 +0100 - -pdiplugin-decl-sion (1.1.0-1) unstable devel; urgency=medium - - * Upstream release 1.1.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:37:26 +0100 - -pdiplugin-decl-sion (16144482851.0.1-1) unstable devel; urgency=medium - - * Upstream release 1.0.1 - - -- Julien Bigot Sat, 27 Feb 2021 13:17:34 +0100 - -pdiplugin-decl-sion (1.0.0-1) unstable devel; urgency=medium - - * Initial Release - - -- Julien Bigot Thu, 28 Jan 2021 16:07:15 +0100 diff --git a/pdiplugin-decl-sion/debian/compat b/pdiplugin-decl-sion/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/pdiplugin-decl-sion/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/pdiplugin-decl-sion/debian/control b/pdiplugin-decl-sion/debian/control deleted file mode 100644 index ec42b615..00000000 --- a/pdiplugin-decl-sion/debian/control +++ /dev/null @@ -1,37 +0,0 @@ -Source: pdiplugin-decl-sion -Section: libs -Priority: optional -Maintainer: Julien Bigot -Build-Depends: debhelper (>= 11), - cmake (>= 3.10), - gfortran | fortran-compiler , - libpdi-dev, - libsion-mpich-dev (>= 1.7.6), - libsion-openmpi-dev (>= 1.7.6), - mpi-default-dev, - mpich , - openmpi-bin , - pdiplugin-mpi-mpich , - pdiplugin-mpi-openmpi , - pkg-config, - python3-setuptools -Standards-Version: 4.5.0 -Homepage: https://pdi.julien-bigot.fr/ - -Package: pdiplugin-decl-sion-mpich -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Provides: pdiplugin-decl-sion -Enhances: libpdi1 -Description: Decl'SION plugin for the PDI Data Interface - The PDI decl-sion plugin interfaces PDI with SIONlib. - -Package: pdiplugin-decl-sion-openmpi -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Provides: pdiplugin-decl-sion -Enhances: libpdi1 -Description: Decl'SION plugin for the PDI Data Interface - The PDI decl-sion plugin interfaces PDI with SIONlib. diff --git a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.postinst b/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.postinst deleted file mode 100644 index ef29793d..00000000 --- a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#! -set -e - -case #FLAVOR# in -#ARCH_DEFAULT_MPI_IMPL#) - PRIORITY=30 - ;; -*) - PRIORITY=10 - ;; -esac - -case "$1" in -configure) - update-alternatives \ - --install \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/libpdi_decl_sion_plugin.so \ - pdi-#PKG_VERSION#_decl-sion_plugin.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/#FLAVOR#/libpdi_decl_sion_plugin.so \ - "${PRIORITY}" -;; -*) - # nothing to do -;; -esac - -#DEBHELPER# diff --git a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.prerm b/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.prerm deleted file mode 100644 index a1e6bd95..00000000 --- a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-FLAVOR.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! -set -e - -case "$1" in -*) - update-alternatives \ - --remove \ - pdi-#PKG_VERSION#_decl-sion_plugin.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/#FLAVOR#/libpdi_decl_sion_plugin.so -;; -esac - -#DEBHELPER# diff --git a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-mpich.install b/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-mpich.install deleted file mode 100644 index 699ca339..00000000 --- a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-mpich.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/pdi/*/mpich/* diff --git a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-openmpi.install b/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-openmpi.install deleted file mode 100644 index 84c134a6..00000000 --- a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-openmpi.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/pdi/*/openmpi/* diff --git a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-serial.install b/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-serial.install deleted file mode 100644 index 295933cd..00000000 --- a/pdiplugin-decl-sion/debian/pdiplugin-decl-sion-serial.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/pdi/*/serial/* diff --git a/pdiplugin-decl-sion/debian/rules b/pdiplugin-decl-sion/debian/rules deleted file mode 100755 index 20eb93a2..00000000 --- a/pdiplugin-decl-sion/debian/rules +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -include /usr/share/dpkg/architecture.mk -include /usr/share/mpi-default-dev/debian_defaults -PKG_VERSION := $(shell dpkg-parsechangelog -S version | sed 's/-.*//') -FLAVORS = $(shell dh_listpackages | grep '^pdiplugin-decl-sion-' | sed 's/^pdiplugin-decl-sion-//') -# openmpi < 4.0.2 does not support running as root -ifneq (,$(filter buster bionic, $(DEB_BUILD_PROFILES))) - DISABLED_TESTS_FLAVOR = openmpi -else - DISABLED_TESTS_FLAVOR = no_flavor -endif - - -%: - dh $@ --parallel -D plugins/decl_sion - -override_dh_auto_clean: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_clean -Bbuild-$${FLAVOR} -ppdiplugin-decl-sion-$${FLAVOR} ;\ - done - -override_dh_auto_configure: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_configure -Bbuild-$${FLAVOR} -ppdiplugin-decl-sion-$${FLAVOR} -- \ - -DCMAKE_BUILD_TYPE=Release \ - -DINSTALL_PDIPLUGINDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/pdi/plugins_$(PKG_VERSION)/$${FLAVOR} \ - -DMPI_C_COMPILER=mpicc.$${FLAVOR} \ - -DMPI_CXX_COMPILER=mpicxx.$${FLAVOR} \ - -DMPI_Fortran_COMPILER=mpif90.$${FLAVOR} \ - -DMPIEXEC_EXECUTABLE=/usr/bin/mpiexec.$${FLAVOR} \ - -DSIONCONFIG=/usr/bin/sionconfig.$${FLAVOR} ;\ - done - -override_dh_auto_build: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_build -Bbuild-$${FLAVOR} -ppdiplugin-decl-sion-$${FLAVOR} ;\ - done - -override_dh_auto_test: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 OMPI_MCA_rmaps_base_oversubscribe=1 ;\ - export PDI_PLUGIN_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/pdi/plugins_$(PKG_VERSION)/$${FLAVOR} ;\ - [ $${FLAVOR} = "$(DISABLED_TESTS_FLAVOR)" ] || dh_auto_test -Bbuild-$${FLAVOR} -ppdiplugin-decl-sion-$${FLAVOR} ;\ - done - -override_dh_auto_install: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_install -Bbuild-$${FLAVOR} -ppdiplugin-decl-sion-$${FLAVOR} ;\ - done - -override_dh_installdeb: - # execute_before_dh_installdeb is not available before debhelper 12 - # dh_installdeb -D is not available before debhelper 13, we use sed - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - for SUFFIX in prerm postinst ;\ - do sed \ - -e 's/#ARCH_DEFAULT_MPI_IMPL#/$(ARCH_DEFAULT_MPI_IMPL)/g' \ - -e "s/#FLAVOR#/$${FLAVOR}/g" \ - -e 's/#PKG_VERSION#/$(PKG_VERSION)/g' \ - debian/pdiplugin-decl-sion-FLAVOR.$${SUFFIX} > debian/pdiplugin-decl-sion-$${FLAVOR}.$${SUFFIX} ;\ - done ;\ - dh_installdeb -ppdiplugin-decl-sion-$${FLAVOR} ;\ - done diff --git a/pdiplugin-decl-sion/debian/source/format b/pdiplugin-decl-sion/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/pdiplugin-decl-sion/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/pdiplugin-decl-sion/pdiplugin-decl-sion.spec b/pdiplugin-decl-sion/pdiplugin-decl-sion.spec deleted file mode 100644 index 6db394b0..00000000 --- a/pdiplugin-decl-sion/pdiplugin-decl-sion.spec +++ /dev/null @@ -1,114 +0,0 @@ -Name: pdiplugin-decl-sion -Version: 1.7.1 -Release: 0 -License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Summary: SIONlib plugin for the PDI Data Interface -Url: https://gitlab.maisondelasimulation.fr/pdidev/pdi -Source0: https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/%{version}/pdi-%{version}.tar.bz2 -BuildRequires: gcc, gcc-c++, make, cmake >= 3.10 -BuildRequires: pdi-devel = %{version} -BuildRequires: python3-setuptools - -%description -The PDI decl-sion plugin interfaces PDI with SIONlib. - -%package openmpi -Summary: SIONlib plugin for the PDI Data Interface, OpenSIONlib version -BuildRequires: sionlib-openmpi-devel >= 1.7.6 - -%description openmpi -The PDI decl-sion plugin interfaces PDI with SIONlib. - -%package mpich -Summary: SIONlib plugin for the PDI Data Interface, MPich version -BuildRequires: sionlib-mpich-devel >= 1.7.6 - -%description mpich -The PDI decl-sion plugin interfaces PDI with SIONlib. - -%prep -%autosetup -n pdi-%{version} - -%build -for MPI_VERSION in openmpi mpich -do -mkdir build-${MPI_VERSION} -module load mpi/${MPI_VERSION}-%{_arch} -%cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DINSTALL_PDIPLUGINDIR=${MPI_LIB}/pdi/plugins_%{version}/ \ - -S plugins/decl_sion \ - -B build-${MPI_VERSION} -%make_build -C build-${MPI_VERSION} -done - -%install -rm -rf $RPM_BUILD_ROOT -for MPI_VERSION in openmpi mpich -do -module load mpi/${MPI_VERSION}-%{_arch} -%make_install -C build-${MPI_VERSION} -module purge -done - -%clean -rm -rf $RPM_BUILD_ROOT - -%post openmpi -p /sbin/ldconfig - -%postun openmpi -p /sbin/ldconfig - -%post mpich -p /sbin/ldconfig - -%postun mpich -p /sbin/ldconfig - -%files openmpi -%license LICENSE -%doc README.md -%{_libdir}/openmpi/lib/pdi/*/lib*.so - -%files mpich -%license LICENSE -%doc README.md -%{_libdir}/mpich/lib/pdi/*/lib*.so - -%changelog -* Sun Jul 21 2024 - Julien Bigot -- Upstream release 1.7.1 -* Thu Mar 09 2023 - Julien Bigot -- Upstream release 1.6.0 -* Thu Nov 03 2022 - Julien Bigot -- Upstream release 1.5.5 -* Sat Jun 11 2022 - Julien Bigot -- Upstream release 1.5.4 -* Tue May 31 2022 - Julien Bigot -- Upstream release 1.5.3 -* Fri Apr 01 2022 - Julien Bigot -- Upstream release 1.5.1 -* Wed Mar 30 2022 - Julien Bigot -- Upstream release 1.5.0 -* Sat Mar 05 2022 - Julien Bigot -- updated cmake invocation to be compatible with Fedora 36+ -* Wed Dec 01 2021 - Julien Bigot -- Upstream release 1.4.3 -* Mon Nov 15 2021 - Julien Bigot -- Upstream release 1.4.1 -* Tue Nov 09 2021 - Julien Bigot -- Upstream release 1.4.0 -* Tue Aug 03 2021 - Karol Sierociński -- Upstream release 1.3.1 -* Sun Aug 01 2021 - Julien Bigot -- Upstream release 1.3.0 -* Tue Jul 20 2021 - Julien Bigot -- Upstream release 1.2.2 -* Fri Jun 18 2021 - Julien Bigot -- Upstream release 1.2.1 -* Wed Jun 16 2021 - Julien Bigot -- Upstream release 1.2.0 -* Sat Mar 27 2021 - Julien Bigot -- Upstream release 1.1.0 -* Sat Feb 27 2021 - Julien Bigot -- Upstream release 1.0.1 -* Thu Jan 28 2021 - Julien Bigot -- Initial Release diff --git a/pdiplugin-flowvr/debian/changelog b/pdiplugin-flowvr/debian/changelog deleted file mode 100644 index 19cc32d4..00000000 --- a/pdiplugin-flowvr/debian/changelog +++ /dev/null @@ -1,107 +0,0 @@ -pdiplugin-flowvr (1.7.1-1) unstable devel; urgency=medium - - * Upstream release 1.7.1 - - -- Julien Bigot Sun, 21 Jul 2024 17:45:08 +0200 - -pdiplugin-flowvr (1.6.0-1) unstable devel; urgency=medium - - * Upstream release 1.6.0 - - -- Julien Bigot Thu, 09 Mar 2023 09:25:19 +0100 - -pdiplugin-flowvr (1.5.5-1) unstable devel; urgency=medium - - * Upstream release 1.5.5 - - -- Julien Bigot Thu, 03 Nov 2022 14:01:25 +0100 - -pdiplugin-flowvr (1.5.4-1) unstable devel; urgency=medium - - * Upstream release 1.5.4 - - -- Julien Bigot Sat, 11 Jun 2022 15:39:13 +0200 - -pdiplugin-flowvr (1.5.3-1) unstable devel; urgency=medium - - * Upstream release 1.5.3 - - -- Julien Bigot Tue, 31 May 2022 09:38:20 +0200 - -pdiplugin-flowvr (1.5.1-1) unstable devel; urgency=medium - - * Upstream release 1.5.1 - - -- Julien Bigot Fri, 01 Apr 2022 10:01:21 +0200 - -pdiplugin-flowvr (1.5.0-1) unstable devel; urgency=medium - - * Upstream release 1.5.0 - - -- Julien Bigot Wed, 30 Mar 2022 20:41:26 +0200 - -pdiplugin-flowvr (1.4.3-1) unstable devel; urgency=medium - - * Upstream release 1.4.3 - - -- Julien Bigot Tue, 16 Nov 2021 13:57:42 -0600 - -pdiplugin-flowvr (1.4.1-1) unstable devel; urgency=medium - - * Upstream release 1.4.1 - - -- Julien Bigot Mon, 15 Nov 2021 11:27:57 -0600 - -pdiplugin-flowvr (1.4.0-1) unstable devel; urgency=medium - - * Upstream release 1.4.0 - - -- Julien Bigot Tue, 09 Nov 2021 12:20:22 +0100 - -pdiplugin-flowvr (1.3.1-1) unstable devel; urgency=medium - - * Upstream release 1.3.1 - - -- Karol Sierociński Tue, 03 Aug 2021 14:45:11 +0200 - -pdiplugin-flowvr (1.3.0-1) unstable devel; urgency=medium - - * Upstream release 1.3.0 - - -- Julien Bigot Sun, 01 Aug 2021 15:37:27 +0200 - -pdiplugin-flowvr (1.2.2-1) unstable devel; urgency=medium - - * Upstream release 1.2.2 - - -- Julien Bigot Sat, 19 Jun 2021 16:51:18 +0200 - -pdiplugin-flowvr (1.2.1-1) unstable devel; urgency=medium - - * Upstream release 1.2.1 - - -- Julien Bigot Thu, 17 Jun 2021 11:20:38 +0200 - -pdiplugin-flowvr (1.2.0-1) unstable devel; urgency=medium - - * Upstream release 1.2.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:45:28 +0100 - -pdiplugin-flowvr (1.1.0-1) unstable devel; urgency=medium - - * Upstream release 1.1.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:37:26 +0100 - -pdiplugin-flowvr (16144482851.0.1-1) unstable devel; urgency=medium - - * Upstream release 1.0.1 - - -- Julien Bigot Sat, 27 Feb 2021 13:17:34 +0100 - -pdiplugin-flowvr (1.0.0-1) unstable devel; urgency=medium - - * Initial Release - - -- Julien Bigot Thu, 28 Jan 2021 16:07:15 +0100 diff --git a/pdiplugin-flowvr/debian/compat b/pdiplugin-flowvr/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/pdiplugin-flowvr/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/pdiplugin-flowvr/debian/control b/pdiplugin-flowvr/debian/control deleted file mode 100644 index e1298ac4..00000000 --- a/pdiplugin-flowvr/debian/control +++ /dev/null @@ -1,21 +0,0 @@ -Source: pdiplugin-flowvr -Section: libs -Priority: optional -Maintainer: Julien Bigot -Build-Depends: debhelper (>= 11), - cmake (>= 3.10), - flowvr (>= 2.3.2), - libpdi-dev, - pkg-config, - python3-setuptools, - python3-yaml (>= 3.12) -Standards-Version: 4.5.0 -Homepage: https://pdi.julien-bigot.fr/ - -Package: pdiplugin-flowvr -Architecture: any -Section: libs -Depends: ${shlibs:Depends}, ${misc:Depends} -Enhances: libpdi1 -Description: FlowVR plugin for the PDI Data Interface - The PDI FlowVR plugin supports application coupling through the FlowVR software. diff --git a/pdiplugin-flowvr/debian/rules b/pdiplugin-flowvr/debian/rules deleted file mode 100755 index 6b8275eb..00000000 --- a/pdiplugin-flowvr/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -%: - . /opt/flowvr/bin/flowvr-suite-config.sh && \ - dh $@ --parallel - -override_dh_auto_configure: - dh_auto_configure --parallel -D plugins/flowvr -- \ - -DCMAKE_BUILD_TYPE=Release diff --git a/pdiplugin-flowvr/debian/source/format b/pdiplugin-flowvr/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/pdiplugin-flowvr/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/pdiplugin-flowvr/pdiplugin-flowvr.spec b/pdiplugin-flowvr/pdiplugin-flowvr.spec deleted file mode 100644 index e8ea6021..00000000 --- a/pdiplugin-flowvr/pdiplugin-flowvr.spec +++ /dev/null @@ -1,88 +0,0 @@ -Name: pdiplugin-flowvr -Version: 1.7.1 -Release: 0 -License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Summary: FlowVR plugin for the PDI Data Interface -Url: https://gitlab.maisondelasimulation.fr/pdidev/pdi -Source0: https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/%{version}/pdi-%{version}.tar.bz2 -BuildRequires: gcc, gcc-c++, make, cmake >= 3.10 -BuildRequires: flowvr >= 2.3.2 -BuildRequires: freeglut-devel -BuildRequires: mesa-libEGL-devel -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -BuildRequires: pdi-devel = %{version} -BuildRequires: python3-yaml >= 3.12 -BuildRequires: python3-setuptools - -%description -The PDI FlowVR plugin supports application coupling through the FlowVR software. - -%prep -%autosetup -n pdi-%{version} - -%build -. /opt/flowvr/bin/flowvr-suite-config.sh -%cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -S plugins/flowvr -%cmake_build - -%install -rm -rf $RPM_BUILD_ROOT -. /opt/flowvr/bin/flowvr-suite-config.sh -%cmake_install - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%license LICENSE -%doc README.md -%{_libdir}/pdi/*/lib*.so -%{python3_sitearch}/pdi_flowvr - -%changelog -* Sun Jul 21 2024 - Julien Bigot -- Upstream release 1.7.1 -* Thu Mar 09 2023 - Julien Bigot -- Upstream release 1.6.0 -* Thu Nov 03 2022 - Julien Bigot -- Upstream release 1.5.5 -* Sat Jun 11 2022 - Julien Bigot -- Upstream release 1.5.4 -* Tue May 31 2022 - Julien Bigot -- Upstream release 1.5.3 -* Fri Apr 01 2022 - Julien Bigot -- Upstream release 1.5.1 -* Wed Mar 30 2022 - Julien Bigot -- Upstream release 1.5.0 -* Sat Mar 05 2022 - Julien Bigot -- updated cmake invocation to be compatible with Fedora 36+ -* Wed Dec 01 2021 - Julien Bigot -- Upstream release 1.4.3 -* Mon Nov 15 2021 - Julien Bigot -- Upstream release 1.4.1 -* Tue Nov 09 2021 - Julien Bigot -- Upstream release 1.4.0 -* Tue Aug 03 2021 - Karol Sierociński -- Upstream release 1.3.1 -* Sun Aug 01 2021 - Julien Bigot -- Upstream release 1.3.0 -* Tue Jul 20 2021 - Julien Bigot -- Upstream release 1.2.2 -* Fri Jun 18 2021 - Julien Bigot -- Upstream release 1.2.1 -* Wed Jun 16 2021 - Julien Bigot -- Upstream release 1.2.0 -* Sat Mar 27 2021 - Julien Bigot -- Upstream release 1.1.0 -* Sat Feb 27 2021 - Julien Bigot -- Upstream release 1.0.1 -* Fri Oct 16 2020 - Upstream release 1.0.0 -- Initial Release diff --git a/pdiplugin-fti/debian/changelog b/pdiplugin-fti/debian/changelog deleted file mode 100644 index 71bdfce9..00000000 --- a/pdiplugin-fti/debian/changelog +++ /dev/null @@ -1,107 +0,0 @@ -pdiplugin-fti (1.7.1-1) unstable devel; urgency=medium - - * Upstream release 1.7.1 - - -- Julien Bigot Sun, 21 Jul 2024 17:45:08 +0200 - -pdiplugin-fti (1.6.0-1) unstable devel; urgency=medium - - * Upstream release 1.6.0 - - -- Julien Bigot Thu, 09 Mar 2023 09:25:19 +0100 - -pdiplugin-fti (1.5.5-1) unstable devel; urgency=medium - - * Upstream release 1.5.5 - - -- Julien Bigot Thu, 03 Nov 2022 14:01:25 +0100 - -pdiplugin-fti (1.5.4-1) unstable devel; urgency=medium - - * Upstream release 1.5.4 - - -- Julien Bigot Sat, 11 Jun 2022 15:39:13 +0200 - -pdiplugin-fti (1.5.3-1) unstable devel; urgency=medium - - * Upstream release 1.5.3 - - -- Julien Bigot Tue, 31 May 2022 09:38:20 +0200 - -pdiplugin-fti (1.5.1-1) unstable devel; urgency=medium - - * Upstream release 1.5.1 - - -- Julien Bigot Fri, 01 Apr 2022 10:01:21 +0200 - -pdiplugin-fti (1.5.0-1) unstable devel; urgency=medium - - * Upstream release 1.5.0 - - -- Julien Bigot Wed, 30 Mar 2022 20:41:26 +0200 - -pdiplugin-fti (1.4.3-1) unstable devel; urgency=medium - - * Upstream release 1.4.3 - - -- Julien Bigot Tue, 16 Nov 2021 13:57:42 -0600 - -pdiplugin-fti (1.4.1-1) unstable devel; urgency=medium - - * Upstream release 1.4.1 - - -- Julien Bigot Mon, 15 Nov 2021 11:27:57 -0600 - -pdiplugin-fti (1.4.0-1) unstable devel; urgency=medium - - * Upstream release 1.4.0 - - -- Julien Bigot Tue, 09 Nov 2021 12:20:22 +0100 - -pdiplugin-fti (1.3.1-1) unstable devel; urgency=medium - - * Upstream release 1.3.1 - - -- Karol Sierociński Tue, 03 Aug 2021 14:45:11 +0200 - -pdiplugin-fti (1.3.0-1) unstable devel; urgency=medium - - * Upstream release 1.3.0 - - -- Julien Bigot Sun, 01 Aug 2021 15:37:27 +0200 - -pdiplugin-fti (1.2.2-1) unstable devel; urgency=medium - - * Upstream release 1.2.2 - - -- Julien Bigot Sat, 19 Jun 2021 16:51:18 +0200 - -pdiplugin-fti (1.2.1-1) unstable devel; urgency=medium - - * Upstream release 1.2.1 - - -- Julien Bigot Thu, 17 Jun 2021 11:20:38 +0200 - -pdiplugin-fti (1.2.0-1) unstable devel; urgency=medium - - * Upstream release 1.2.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:45:28 +0100 - -pdiplugin-fti (1.1.0-1) unstable devel; urgency=medium - - * Upstream release 1.1.0 - - -- Julien Bigot Sat, 27 Mar 2021 11:37:26 +0100 - -pdiplugin-fti (16144482851.0.1-1) unstable devel; urgency=medium - - * Upstream release 1.0.1 - - -- Julien Bigot Sat, 27 Feb 2021 13:17:34 +0100 - -pdiplugin-fti (1.0.0-1) unstable devel; urgency=medium - - * Initial Release - - -- Julien Bigot Thu, 28 Jan 2021 16:07:15 +0100 diff --git a/pdiplugin-fti/debian/compat b/pdiplugin-fti/debian/compat deleted file mode 100644 index b4de3947..00000000 --- a/pdiplugin-fti/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/pdiplugin-fti/debian/control b/pdiplugin-fti/debian/control deleted file mode 100644 index c420ec11..00000000 --- a/pdiplugin-fti/debian/control +++ /dev/null @@ -1,36 +0,0 @@ -Source: pdiplugin-fti -Section: libs -Priority: optional -Maintainer: Julien Bigot -Build-Depends: debhelper (>= 11), - cmake (>= 3.10), - libfti-mpich-dev (>= 1.6), - libfti-openmpi-dev (>= 1.6), - libpdi-dev, - mpi-default-dev, - mpich , - openmpi-bin , - pdiplugin-mpi-mpich , - pdiplugin-mpi-openmpi , - pkg-config, - python3-setuptools -Standards-Version: 4.5.0 -Homepage: https://pdi.julien-bigot.fr/ - -Package: pdiplugin-fti-mpich -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Enhances: libpdi1 -Provides: pdiplugin-fti -Description: FTI plugin for the PDI Data Interface - The PDI fti plugin interfaces PDI with FTI. - -Package: pdiplugin-fti-openmpi -Architecture: any -Section: libs -Depends: dpkg-dev, ${shlibs:Depends}, ${misc:Depends} -Enhances: libpdi1 -Provides: pdiplugin-fti -Description: FTI plugin for the PDI Data Interface - The PDI fti plugin interfaces PDI with FTI. diff --git a/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.postinst b/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.postinst deleted file mode 100644 index b641f4eb..00000000 --- a/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.postinst +++ /dev/null @@ -1,27 +0,0 @@ -#! -set -e - -case #FLAVOR# in -#ARCH_DEFAULT_MPI_IMPL#) - PRIORITY=30 - ;; -*) - PRIORITY=10 - ;; -esac - -case "$1" in -configure) - update-alternatives \ - --install \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/libpdi_fti_plugin.so \ - pdi-#PKG_VERSION#_fti_plugin.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/#FLAVOR#/libpdi_fti_plugin.so \ - "${PRIORITY}" -;; -*) - # nothing to do -;; -esac - -#DEBHELPER# diff --git a/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.prerm b/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.prerm deleted file mode 100644 index 8db12cc3..00000000 --- a/pdiplugin-fti/debian/pdiplugin-fti-FLAVOR.prerm +++ /dev/null @@ -1,13 +0,0 @@ -#! -set -e - -case "$1" in -*) - update-alternatives \ - --remove \ - pdi-#PKG_VERSION#_fti_plugin.so-$(dpkg-architecture -qDEB_HOST_MULTIARCH) \ - /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/pdi/plugins_#PKG_VERSION#/#FLAVOR#/libpdi_fti_plugin.so -;; -esac - -#DEBHELPER# diff --git a/pdiplugin-fti/debian/pdiplugin-fti-mpich.install b/pdiplugin-fti/debian/pdiplugin-fti-mpich.install deleted file mode 100644 index 699ca339..00000000 --- a/pdiplugin-fti/debian/pdiplugin-fti-mpich.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/pdi/*/mpich/* diff --git a/pdiplugin-fti/debian/pdiplugin-fti-openmpi.install b/pdiplugin-fti/debian/pdiplugin-fti-openmpi.install deleted file mode 100644 index 84c134a6..00000000 --- a/pdiplugin-fti/debian/pdiplugin-fti-openmpi.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/pdi/*/openmpi/* diff --git a/pdiplugin-fti/debian/rules b/pdiplugin-fti/debian/rules deleted file mode 100755 index 945b38f8..00000000 --- a/pdiplugin-fti/debian/rules +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed - -include /usr/share/dpkg/architecture.mk -include /usr/share/mpi-default-dev/debian_defaults -PKG_VERSION := $(shell dpkg-parsechangelog -S version | sed 's/-.*//') -FLAVORS = $(shell dh_listpackages | grep '^pdiplugin-fti-' | sed 's/^pdiplugin-fti-//') -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) - DISABLED_TESTS_FLAVOR = $(FLAVORS) -else -ifneq (,$(filter buster bionic, $(DEB_BUILD_PROFILES))) - # openmpi < 4.0.2 does not support running as root - DISABLED_TESTS_FLAVOR = openmpi -else - DISABLED_TESTS_FLAVOR = no_flavor -endif -endif - - -%: - dh $@ --parallel -D plugins/fti - -override_dh_auto_clean: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_clean -Bbuild-$${FLAVOR} -ppdiplugin-fti-$${FLAVOR} ;\ - done - -override_dh_auto_configure: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_configure -Bbuild-$${FLAVOR} -ppdiplugin-fti-$${FLAVOR} -- \ - -DBUILD_TESTING=ON \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_PREFIX_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/fti/$${FLAVOR}/ \ - -DINSTALL_PDIPLUGINDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/pdi/plugins_$(PKG_VERSION)/$${FLAVOR} \ - -DMPI_C_COMPILER=mpicc.$${FLAVOR} \ - -DMPI_CXX_COMPILER=mpicxx.$${FLAVOR} \ - -DMPI_Fortran_COMPILER=mpif90.$${FLAVOR} \ - -DMPIEXEC_EXECUTABLE=/usr/bin/mpiexec.$${FLAVOR} ;\ - done - -override_dh_auto_build: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_build -Bbuild-$${FLAVOR} -ppdiplugin-fti-$${FLAVOR} ;\ - done - -override_dh_auto_test: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 OMPI_MCA_rmaps_base_oversubscribe=1 ;\ - export PDI_PLUGIN_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/pdi/plugins_$(PKG_VERSION)/$${FLAVOR} ;\ - echo "$(DISABLED_TESTS_FLAVOR)" | fgrep "$${FLAVOR}" || dh_auto_test -Bbuild-$${FLAVOR} -ppdiplugin-fti-$${FLAVOR} ;\ - done - -override_dh_auto_install: - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - dh_auto_install -Bbuild-$${FLAVOR} -ppdiplugin-fti-$${FLAVOR} ;\ - done - -override_dh_installdeb: - # execute_before_dh_installdeb is not available before debhelper 12 - # dh_installdeb -D is not available before debhelper 13, we use sed - set -e; for FLAVOR in $(FLAVORS) ;\ - do \ - for SUFFIX in prerm postinst ;\ - do sed \ - -e 's/#ARCH_DEFAULT_MPI_IMPL#/$(ARCH_DEFAULT_MPI_IMPL)/g' \ - -e "s/#FLAVOR#/$${FLAVOR}/g" \ - -e 's/#PKG_VERSION#/$(PKG_VERSION)/g' \ - debian/pdiplugin-fti-FLAVOR.$${SUFFIX} > debian/pdiplugin-fti-$${FLAVOR}.$${SUFFIX} ;\ - done ;\ - dh_installdeb -ppdiplugin-fti-$${FLAVOR} ;\ - done diff --git a/pdiplugin-fti/debian/source/format b/pdiplugin-fti/debian/source/format deleted file mode 100644 index 163aaf8d..00000000 --- a/pdiplugin-fti/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/pdiplugin-fti/pdiplugin-fti.spec b/pdiplugin-fti/pdiplugin-fti.spec deleted file mode 100644 index 4a6c170d..00000000 --- a/pdiplugin-fti/pdiplugin-fti.spec +++ /dev/null @@ -1,115 +0,0 @@ -Name: pdiplugin-fti -Version: 1.7.1 -Release: 0 -License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Summary: FTI plugin for the PDI Data Interface -Url: https://gitlab.maisondelasimulation.fr/pdidev/pdi -Source0: https://gitlab.maisondelasimulation.fr/pdidev/pdi/-/archive/%{version}/pdi-%{version}.tar.bz2 -BuildRequires: gcc, gcc-c++, make, cmake >= 3.10 -BuildRequires: pdi-devel = %{version} -BuildRequires: python3-setuptools - -%description -The PDI fti plugin interfaces PDI with FTI. - -%package openmpi -Summary: FTI plugin for the PDI Data Interface, OpenFTI version -BuildRequires: fti-openmpi-devel >= 1.6 - -%description openmpi -The PDI fti plugin interfaces PDI with FTI. - -%package mpich -Summary: FTI plugin for the PDI Data Interface, MPich version -BuildRequires: fti-mpich-devel >= 1.6 - -%description mpich -The PDI fti plugin interfaces PDI with FTI. - -%prep -%autosetup -n pdi-%{version} - -%build -for MPI_VERSION in openmpi mpich -do -mkdir build-${MPI_VERSION} -module load mpi/${MPI_VERSION}-%{_arch} -%cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DINSTALL_PDIPLUGINDIR=%{_libdir}/${MPI_VERSION}/lib/pdi/plugins_%{version}/ \ - -S plugins/fti \ - -B build-${MPI_VERSION} -%make_build -C build-${MPI_VERSION} -module purge -done - -%install -rm -rf $RPM_BUILD_ROOT -for MPI_VERSION in openmpi mpich -do -module load mpi/${MPI_VERSION}-%{_arch} -%make_install -C build-${MPI_VERSION} -module purge -done - -%clean -rm -rf $RPM_BUILD_ROOT - -%post openmpi -p /sbin/ldconfig - -%postun openmpi -p /sbin/ldconfig - -%post mpich -p /sbin/ldconfig - -%postun mpich -p /sbin/ldconfig - -%files openmpi -%license LICENSE -%doc README.md -%{_libdir}/openmpi/lib/pdi/*/lib*.so - -%files mpich -%license LICENSE -%doc README.md -%{_libdir}/mpich/lib/pdi/*/lib*.so - -%changelog -* Sun Jul 21 2024 - Julien Bigot -- Upstream release 1.7.1 -* Thu Mar 09 2023 - Julien Bigot -- Upstream release 1.6.0 -* Thu Nov 03 2022 - Julien Bigot -- Upstream release 1.5.5 -* Sat Jun 11 2022 - Julien Bigot -- Upstream release 1.5.4 -* Tue May 31 2022 - Julien Bigot -- Upstream release 1.5.3 -* Fri Apr 01 2022 - Julien Bigot -- Upstream release 1.5.1 -* Wed Mar 30 2022 - Julien Bigot -- Upstream release 1.5.0 -* Sat Mar 05 2022 - Julien Bigot -- updated cmake invocation to be compatible with Fedora 36+ -* Wed Dec 01 2021 - Julien Bigot -- Upstream release 1.4.3 -* Mon Nov 15 2021 - Julien Bigot -- Upstream release 1.4.1 -* Tue Nov 09 2021 - Julien Bigot -- Upstream release 1.4.0 -* Tue Aug 03 2021 - Karol Sierociński -- Upstream release 1.3.1 -* Sun Aug 01 2021 - Julien Bigot -- Upstream release 1.3.0 -* Tue Jul 20 2021 - Julien Bigot -- Upstream release 1.2.2 -* Fri Jun 18 2021 - Julien Bigot -- Upstream release 1.2.1 -* Wed Jun 16 2021 - Julien Bigot -- Upstream release 1.2.0 -* Sat Mar 27 2021 - Julien Bigot -- Upstream release 1.1.0 -* Sat Feb 27 2021 - Julien Bigot -- Upstream release 1.0.1 -* Thu Jan 28 2021 - Julien Bigot -- Initial Release