Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
libiomp 20150401
Browse files Browse the repository at this point in the history
version bump
header installation path changed to prefix/include
  • Loading branch information
tschoonj committed May 11, 2015
1 parent 03a74b4 commit c64dac3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Library/Formula/libiomp.rb
@@ -1,7 +1,7 @@
class Libiomp < Formula
homepage "https://www.openmprtl.org/download"
url "https://www.openmprtl.org/sites/default/files/libomp_20150227_oss.tgz"
sha256 "a1d30fad0160400db325d270b632961d086026d2944520d67c6afc0e69ac93bf"
url "https://www.openmprtl.org/sites/default/files/libomp_20150401_oss.tgz"
sha256 "476dcf62d29134a3549d49542a74345bb5389f93670f2313d7c610a690f9048e"

depends_on :arch => :intel
depends_on "cmake" => :build
Expand Down Expand Up @@ -35,7 +35,7 @@ def install
system "cmake", ".", *args
system "make", "all", "common"

(include/"libiomp").install Dir["exports/common/include/*"]
include.install Dir["exports/common/include/*"]
lib.install "exports/#{intel_arch}/lib.thin/libiomp5.dylib"
end

Expand All @@ -51,7 +51,7 @@ def install
}
EOS
(testpath/"test.c").write(testfile)
system ENV.cc, "-L#{lib}", "-liomp5", "-I#{include}/libiomp", "test.c", "-o", "test"
system ENV.cc, "-L#{lib}", "-liomp5", "-I#{include}", "test.c", "-o", "test"
system "./test"
end
end

0 comments on commit c64dac3

Please sign in to comment.