Skip to content

Commit

Permalink
Revert "llvm-15: fix build on darwin 10"
Browse files Browse the repository at this point in the history
This reverts commit 609b3da.

unfortunately although this worked locally, it did not
make the buildbots happy
  • Loading branch information
kencu committed Sep 28, 2022
1 parent a427177 commit 043e0b5
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions lang/llvm-15/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,8 @@ if {${subport} eq "llvm-${llvm_version}"} {
select.group llvm
select.file ${filespath}/mp-${subport}

# polly build is failing on darwin 10
if {${os.platform} eq "darwin" && ${os.major} > 10} {
configure.args-append \
-DLLVM_ENABLE_PROJECTS="polly"
}
configure.args-append \
-DLLVM_ENABLE_PROJECTS="polly"
}

if {${subport} eq "mlir-${llvm_version}"} {
Expand Down Expand Up @@ -297,7 +294,7 @@ if { ${subport} eq "flang-${llvm_version}" } {
}

# Restrict to 10.7 and newer
if {${os.platform} eq "darwin" && ${os.major} < 10} {
if {${os.platform} eq "darwin" && ${os.major} < 11} {
depends_build
depends_lib
depends_run
Expand Down Expand Up @@ -446,11 +443,8 @@ post-destroot {
}

if {${subport} eq "llvm-${llvm_version}"} {
# polly build is failing on darwin 10
if {${os.platform} eq "darwin" && ${os.major} > 10} {
# https://llvm.org/bugs/show_bug.cgi?id=19465
ln -s LLVMPolly.so ${destroot}${sub_prefix}/lib/LLVMPolly.dylib
}
# https://llvm.org/bugs/show_bug.cgi?id=19465
ln -s LLVMPolly.so ${destroot}${sub_prefix}/lib/LLVMPolly.dylib
}

if {${subport} eq "clang-${llvm_version}"} {
Expand Down

0 comments on commit 043e0b5

Please sign in to comment.