You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
libomp: 20.1.1; Drop long-obsoleted -devel (#27959)
This commit is contained in:
+27
-40
@@ -25,33 +25,25 @@ license {MIT NCSA}
|
||||
# Moved to epoch 1 for svn # -> version # change.
|
||||
epoch 1
|
||||
|
||||
subport libomp-devel {}
|
||||
|
||||
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {
|
||||
|
||||
version 19.1.7
|
||||
version 20.1.1
|
||||
revision 0
|
||||
|
||||
if { ${subport} eq "libomp-devel" } {
|
||||
# Marked obsolete 10/25/2022
|
||||
PortGroup obsolete 1.0
|
||||
replaced_by libomp
|
||||
} else {
|
||||
livecheck.regex {"llvmorg-([0-9.]+)".*}
|
||||
}
|
||||
livecheck.regex {"llvmorg-([0-9.]+)".*}
|
||||
|
||||
distname openmp-${version}.src
|
||||
distfiles ${distname}.tar.xz cmake-${version}.src.tar.xz
|
||||
|
||||
checksums \
|
||||
openmp-${version}.src.tar.xz \
|
||||
rmd160 1d4ceb4f632948b64f37f248c945ab1529895f56 \
|
||||
sha256 bd7e6901ab086fd268750363017935fd4a717c153dad3c2aab86cb0140d9e3fe \
|
||||
size 1089736 \
|
||||
cmake-${version}.src.tar.xz \
|
||||
rmd160 14c1cc22c86edce438536f8e1eda2b9179cfbeed \
|
||||
sha256 11c5a28f90053b0c43d0dec3d0ad579347fc277199c005206b963c19aae514e3 \
|
||||
size 9300
|
||||
openmp-20.1.1.src.tar.xz \
|
||||
rmd160 67ccc02cad70b9f4714e0a7d200ab2ec20eaeca5 \
|
||||
sha256 a5d2bba7bc4e7d159ce3fe8d09bdadeb59ff00af967b0a2bf5993fc1528f569e \
|
||||
size 1093888 \
|
||||
cmake-20.1.1.src.tar.xz \
|
||||
rmd160 49696af4a2acec9d52919ca16a9dbeaac2150d1d \
|
||||
sha256 b5988c9e3df3a61249fa82db54061f733756e74f73dfb299ff6314873a732d61 \
|
||||
size 8648
|
||||
|
||||
if {${os.major} <= 12} {
|
||||
# kmp_alloc.c includes <atomic> but libc++ is not the default on
|
||||
@@ -86,31 +78,26 @@ if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libstdc++"} {
|
||||
|
||||
livecheck.url https://api.github.com/repos/llvm/llvm-project/tags
|
||||
} else {
|
||||
if { ${subport} eq "libomp-devel" } {
|
||||
version 291764
|
||||
replaced_by libomp
|
||||
} else {
|
||||
PortGroup github 1.0
|
||||
# Last version working on libstdc++
|
||||
github.setup llvm-mirror openmp 381 svn-tags/RELEASE_
|
||||
# Change github.tarball_from to 'releases' or 'archive' next update
|
||||
github.tarball_from tarball
|
||||
name libomp
|
||||
PortGroup github 1.0
|
||||
# Last version working on libstdc++
|
||||
github.setup llvm-mirror openmp 381 svn-tags/RELEASE_
|
||||
# Change github.tarball_from to 'releases' or 'archive' next update
|
||||
github.tarball_from tarball
|
||||
name libomp
|
||||
|
||||
worksrcdir openmp-${version}/final/runtime
|
||||
version 3.8.1
|
||||
checksums rmd160 a41054068a127ef84610afef8090109078cb6c46 \
|
||||
sha256 4c46b5946fe9b2a701661746d11c7c85c51a7f18673194a7ebd2a43470948a34 \
|
||||
size 5587986
|
||||
set rtpath "./"
|
||||
worksrcdir openmp-${version}/final/runtime
|
||||
version 3.8.1
|
||||
checksums rmd160 a41054068a127ef84610afef8090109078cb6c46 \
|
||||
sha256 4c46b5946fe9b2a701661746d11c7c85c51a7f18673194a7ebd2a43470948a34 \
|
||||
size 5587986
|
||||
set rtpath "./"
|
||||
|
||||
# use cmake-bootstrap to minimize dependencies.
|
||||
depends_build-replace \
|
||||
path:bin/cmake:cmake port:cmake-bootstrap
|
||||
configure.cmd ${prefix}/libexec/cmake-bootstrap/bin/cmake
|
||||
# use cmake-bootstrap to minimize dependencies.
|
||||
depends_build-replace \
|
||||
path:bin/cmake:cmake port:cmake-bootstrap
|
||||
configure.cmd ${prefix}/libexec/cmake-bootstrap/bin/cmake
|
||||
|
||||
depends_build-append port:perl5
|
||||
}
|
||||
depends_build-append port:perl5
|
||||
livecheck.type none
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user