Revert "llvm: fix test"
This reverts commit e1f36c9320
.
Closes #12525.
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
master
parent
832b70016f
commit
9782146ea9
|
@ -295,8 +295,8 @@ class Llvm < Formula
|
|||
}
|
||||
EOS
|
||||
|
||||
system "#{bin}/clang", "-L#{lib}", "-Wl,-rpath,#{lib}", "-fopenmp",
|
||||
"-nobuiltininc", "-I#{lib}/clang/#{version}/include",
|
||||
system "#{bin}/clang", "-L#{lib}", "-fopenmp", "-nobuiltininc",
|
||||
"-I#{lib}/clang/#{version}/include",
|
||||
"omptest.c", "-o", "omptest"
|
||||
testresult = shell_output("./omptest")
|
||||
|
||||
|
@ -375,7 +375,7 @@ class Llvm < Formula
|
|||
"-I#{MacOS.sdk_path}/usr/include",
|
||||
"-L#{lib}",
|
||||
"-Wl,-rpath,#{lib}", "test.cpp", "-o", "test"
|
||||
assert_includes MachO::Tools.dylibs("test"), "@rpath/libc++.1.dylib"
|
||||
assert_includes MachO::Tools.dylibs("test"), "#{opt_lib}/libc++.1.dylib"
|
||||
assert_equal "Hello World!", shell_output("./test").chomp
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue