Package Details: openmp-extras 5.2.3-1

Git Clone URL: https://aur.archlinux.org/openmp-extras.git (read-only, click to copy)
Package Base: openmp-extras
Description: Radeon Open Compute - openmp-extras with flang (OpenMP AMD GPU Offloading)
Upstream URL: https://github.com/ROCm-Developer-Tools/aomp
Licenses: custom:Apache 2.0 with LLVM Exception
Submitter: acxz
Maintainer: tpkessler
Last Packager: tpkessler
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-11 22:28 (UTC)
Last Updated: 2022-08-29 17:36 (UTC)

Latest Comments

chb commented on 2024-11-27 07:49 (UTC) (edited on 2024-11-27 07:52 (UTC) by chb)

Not sure if this is something I've done by accident but my hsa.h is in hsa/hsa.h so I've needed to update all the includes for that and hsa_ext_amd.h

Done using:

find "/home/c/.cache/yay/openmp-extras/" -type f \( -name '*.cpp' -or -name '*.h' \) | while read file; do
  # Check if the file contains the specified include patterns
  if grep -q '#include <hsa' "$file"; then
    echo "Updating file: $file"

    # Update the include paths for hsa headers
    sed -i 's|#include <hsa.h>|#include "hsa/hsa.h"|g' "$file"
    sed -i 's|#include <hsa_ext_amd.h>|#include "hsa/hsa_ext_amd.h"|g' "$file"
  fi
done

dreieck commented on 2024-02-07 13:18 (UTC)

This should conflict with rocm-llvm:

Both install /opt/rocm/llvm/:

error: failed to commit transaction (conflicting files)
rocm-llvm: /opt/rocm/llvm exists in filesystem
Errors occurred, no packages were upgraded.

Regards!