Created attachment 194882 [details] v1 ports r447281 added i386 support to devel/openmp. Let's copy that.
Build logs from 11.1 i386: llvm38 - https://ptpb.pw/1Co4 llvm40 - https://ptpb.pw/iA2L llvm50 - https://ptpb.pw/UdZL llvm60 - https://ptpb.pw/VLei llvm-devel - https://ptpb.pw/gPtg
Runtime testing on 11.1 i386: $ pkg install ca_root_nss llvm38 $ fetch https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c $ clang38 -fopenmp omp_hello.c $ ./a.out Hello World from thread = 0 Hello World from thread = 1 Hello World from thread = 2 Hello World from thread = 3 Number of threads = 8 Hello World from thread = 4 Hello World from thread = 5 Hello World from thread = 6 Hello World from thread = 7
Comment on attachment 194882 [details] v1 Looks good to me.
A commit references this bug: Author: jbeich Date: Thu Jul 5 09:02:54 UTC 2018 New revision: 473956 URL: https://svnweb.freebsd.org/changeset/ports/473956 Log: devel/llvm*: apply r447281 and enable OPENMP on i386 PR: 229521 Approved by: brooks (maintainer) MFH: 2018Q3 Changes: head/devel/llvm-devel/Makefile head/devel/llvm-devel/files/openmp/patch-i386 head/devel/llvm38/Makefile head/devel/llvm38/files/openmp-patch-i386 head/devel/llvm40/Makefile head/devel/llvm40/files/openmp-patch-i386 head/devel/llvm50/Makefile head/devel/llvm50/files/openmp-patch-i386 head/devel/llvm60/Makefile head/devel/llvm60/files/openmp/patch-i386
A commit references this bug: Author: jbeich Date: Thu Jul 5 18:52:21 UTC 2018 New revision: 473980 URL: https://svnweb.freebsd.org/changeset/ports/473980 Log: MFH: r473956 devel/llvm*: apply r447281 and enable OPENMP on i386 PR: 229521 Approved by: brooks (maintainer) Approved by: ports-secteam (miwi) Changes: _U branches/2018Q3/ branches/2018Q3/devel/llvm-devel/Makefile branches/2018Q3/devel/llvm-devel/files/openmp/patch-i386 branches/2018Q3/devel/llvm38/Makefile branches/2018Q3/devel/llvm38/files/openmp-patch-i386 branches/2018Q3/devel/llvm40/Makefile branches/2018Q3/devel/llvm40/files/openmp-patch-i386 branches/2018Q3/devel/llvm50/Makefile branches/2018Q3/devel/llvm50/files/openmp-patch-i386 branches/2018Q3/devel/llvm60/Makefile branches/2018Q3/devel/llvm60/files/openmp/patch-i386