Skip to content

Commit 7139ebc

Browse files
committed
added homebrew clang detection to pyop2
1 parent a8fbe18 commit 7139ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyop2/compilation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def sniff_compiler(exe, comm=mpi.COMM_WORLD):
155155
# Find the name of the compiler family
156156
if output.startswith("gcc") or output.startswith("g++"):
157157
name = "GNU"
158-
elif output.startswith("clang"):
158+
elif output.startswith("clang") or output.startswith("Homebrew clang"):
159159
name = "clang"
160160
elif output.startswith("Apple LLVM") or output.startswith("Apple clang"):
161161
name = "clang"

0 commit comments

Comments
 (0)