7a3aee27c2
This fixes compiling with -fopenmp, because clang needs libomp-devel to be installed so it can find omp.h.
23 lines
576 B
YAML
23 lines
576 B
YAML
- hosts: localhost
|
|
pre_tasks:
|
|
# We want to make sure libomp is not already present on the system to ensure
|
|
# that clang pulls in the correct libomp dependencies when it is installed.
|
|
- name: Uninstall libomp
|
|
package:
|
|
name: "{{ item }}"
|
|
state: absent
|
|
with_items:
|
|
- libomp
|
|
- libomp-devel
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
- repo: "https://src.fedoraproject.org/tests/clang.git"
|
|
dest: "clang"
|
|
required_packages:
|
|
- clang
|
|
tests:
|
|
- clang/libomp
|