Commit 8b61e675 authored by Sylvestre Ledru's avatar Sylvestre Ledru

Also test openmp

parent 66eb6597
......@@ -148,6 +148,22 @@ echo 'int main() {
' > foo.c
clang++-$VERSION -g -o bar foo.c
# OpenMP
echo '
#include "omp.h"
#include <stdio.h>
int main(void) {
#pragma omp parallel
printf("thread %d\n", omp_get_thread_num());
' > foo.c
clang-$VERSION -v foo.c -I/usr/lib/llvm-$VERSION/include/openmp-$VERSION/ -fopenmp -o o
echo "b main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment