Skip to content

Commit

Permalink
update MacPorts
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 14, 2023
1 parent 24aee5e commit 6aee7d3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
16 changes: 8 additions & 8 deletions tools/MacPorts/lang/libomp/Portfile.orig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name libomp
maintainers {eborisch @eborisch} openmaintainer
homepage https://openmp.llvm.org
description The OpenMP subproject of LLVM
long_description ${description} is intended to contain all of the\
long_description {*}${description} is intended to contain all of the\
components required to build an executing OpenMP\
program that are outside the compiler itself. \
This port works with MacPorts' clang-3.7+ (optionally \
Expand All @@ -30,7 +30,7 @@ subport libomp-devel {}

if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {

version 16.0.0
version 16.0.1
revision 0

if { ${subport} eq "libomp-devel" } {
Expand All @@ -46,13 +46,13 @@ if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {

checksums \
openmp-${version}.src.tar.xz \
rmd160 f1bddca83257a699c33c486b0e8a4200b8d70de0 \
sha256 e30f69c6533157ec4399193ac6b158807610815accfbed98695d72074e4bedd0 \
size 1278048 \
rmd160 ae49a06ba7a13582d1b811d07363541e9557636e \
sha256 3385718b1865c7a9ef45e8923a8e2487d23c20e1b8b4c18df6c5a2881eddf18a \
size 1278184 \
cmake-${version}.src.tar.xz \
rmd160 2263edb16c1aca6073ff5ca32104592ec77313be \
sha256 04e62ab7d0168688d9102680adf8eabe7b04275f333fe20eef8ab5a3a8ea9fcc \
size 9004
rmd160 035fd188b7403066490761e06f8deb38d373f591 \
sha256 f7b070b0ea71251c81b1a3dcdc6ccd28f59615e3e386c461456c5c246406acdc \
size 9000

if {${os.major} <= 12} {
# kmp_alloc.c includes <atomic> but libc++ is not the default on
Expand Down
25 changes: 17 additions & 8 deletions tools/MacPorts/lang/libomp/Portfile.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- Portfile.orig 2023-04-04 11:40:21.000000000 -0700
--- Portfile.orig 2023-04-13 10:53:45.000000000 -0700
+++ Portfile 2023-04-04 12:02:53.000000000 -0700
@@ -1,7 +1,7 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
Expand All @@ -9,12 +9,21 @@
if {${os.major} <= 17} {
PortGroup muniversal 1.0
}
@@ -12,7 +12,7 @@
maintainers {eborisch @eborisch} openmaintainer
homepage https://openmp.llvm.org
description The OpenMP subproject of LLVM
-long_description {*}${description} is intended to contain all of the\
+long_description ${description} is intended to contain all of the\
components required to build an executing OpenMP\
program that are outside the compiler itself. \
This port works with MacPorts' clang-3.7+ (optionally \
@@ -29,30 +29,21 @@
subport libomp-devel {}

if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {
-
- version 16.0.0
- version 16.0.1
- revision 0
-
if { ${subport} eq "libomp-devel" } {
Expand All @@ -39,13 +48,13 @@
-
- checksums \
- openmp-${version}.src.tar.xz \
- rmd160 f1bddca83257a699c33c486b0e8a4200b8d70de0 \
- sha256 e30f69c6533157ec4399193ac6b158807610815accfbed98695d72074e4bedd0 \
- size 1278048 \
- rmd160 ae49a06ba7a13582d1b811d07363541e9557636e \
- sha256 3385718b1865c7a9ef45e8923a8e2487d23c20e1b8b4c18df6c5a2881eddf18a \
- size 1278184 \
- cmake-${version}.src.tar.xz \
- rmd160 2263edb16c1aca6073ff5ca32104592ec77313be \
- sha256 04e62ab7d0168688d9102680adf8eabe7b04275f333fe20eef8ab5a3a8ea9fcc \
- size 9004
- rmd160 035fd188b7403066490761e06f8deb38d373f591 \
- sha256 f7b070b0ea71251c81b1a3dcdc6ccd28f59615e3e386c461456c5c246406acdc \
- size 9000
+ revision 0

if {${os.major} <= 12} {
Expand Down

0 comments on commit 6aee7d3

Please sign in to comment.