diff --recursive --unified=5 --ignore-all-space A/Portfile B/Portfile
A
|
B
|
|
49 | 49 | if {${os.major} <= 12} { |
50 | 50 | # kmp_alloc.c includes <atomic> but libc++ is not the default on |
51 | 51 | # these systems. https://trac.macports.org/ticket/52554 |
52 | 52 | configure.cflags-append -stdlib=libc++ |
53 | 53 | } |
54 | | version 5.0.1 |
| 54 | version 6.0.0 |
55 | 55 | revision 0 |
56 | 56 | master_sites https://releases.llvm.org/${version} |
57 | 57 | distname openmp-${version}.src |
58 | 58 | use_xz yes |
59 | 59 | dist_subdir openmp-release |
60 | 60 | checksums \ |
61 | | rmd160 c291ee1b7fcfae30d49788a24c7395000fb8ec2e \ |
62 | | sha256 adb635cdd2f9f828351b1e13d892480c657fb12500e69c70e007bddf0fca2653 |
| 61 | rmd160 09f2a0d8a2fd317ec583d59d5142f74fec2b9d1a \ |
| 62 | sha256 7c0e050d5f7da3b057579fb3ea79ed7dc657c765011b402eb5bbe5663a7c38fc |
63 | 63 | |
64 | | worksrcdir ${distname}/runtime |
65 | 64 | } else { |
66 | 65 | # Last version working on libstdc++ |
67 | 66 | github.setup llvm-mirror openmp 381 svn-tags/RELEASE_ |
68 | 67 | worksrcdir openmp-${version}/final/runtime |
69 | 68 | version 3.8.1 |
… |
… |
|
85 | 84 | # According to documentation builds with clang >= 3.3 |
86 | 85 | compiler.blacklist-append {clang < 500} *gcc* |
87 | 86 | |
88 | 87 | # Avoid dependency cycle |
89 | 88 | # https://trac.macports.org/ticket/53110 |
90 | | foreach ver {3.8 3.9 4.0 5.0 devel} { |
| 89 | foreach ver {3.8 3.9 4.0 5.0 6.0 devel} { |
91 | 90 | if {![file exists ${prefix}/bin/clang-mp-${ver}]} { |
92 | 91 | compiler.blacklist-append macports-clang-${ver} |
93 | 92 | } |
94 | 93 | } |
95 | 94 | |
… |
… |
|
114 | 113 | "Install (links to) omp.h and libs into ${prefix}/(include|lib)" {} |
115 | 114 | |
116 | 115 | post-extract { |
117 | 116 | # Patch tool for build with CMAKE_INSTALL_PREFIX |
118 | 117 | reinplace "/bulk.*compatibility/s/s\+/s+.*/" \ |
119 | | tools/check-depends.pl |
| 118 | runtime/tools/check-depends.pl |
120 | 119 | } |
121 | 120 | |
122 | 121 | post-destroot { |
123 | 122 | set instdest ${destroot}${prefix} |
124 | 123 | xinstall -d ${instdest}/share/doc/libomp |
125 | | file copy ${worksrcpath}/README.txt ${worksrcpath}/../LICENSE.txt \ |
126 | | ${worksrcpath}/../www ${instdest}/share/doc/libomp/ |
| 124 | file copy ${worksrcpath}/runtime/README.txt ${worksrcpath}/LICENSE.txt \ |
| 125 | ${worksrcpath}/www ${instdest}/share/doc/libomp/ |
127 | 126 | xinstall -d ${instdest}/include/libomp |
128 | | move ${instdest}/tmp/include/omp.h ${instdest}/include/libomp/ |
| 127 | delete ${instdest}/include/libomp |
| 128 | move ${instdest}/tmp/include ${instdest}/include/libomp |
129 | 129 | xinstall -d ${instdest}/lib/libomp |
130 | 130 | foreach p {libiomp5.dylib libomp.dylib libgomp.dylib} { |
131 | 131 | move ${instdest}/tmp/lib/${p} ${instdest}/lib/libomp/ |
132 | 132 | } |
133 | 133 | if [variant_isset top_level] { |