INNER CODE UNIT · Ruby

install

davidchall/homebrew-hep · Formula/apfel++.rb:16

  def install
    system "cmake", ".", *std_cmake_args
    system "make"
    system "make", "install"

    prefix.install "tests/dglap_test.cc"
  end

  test do
    flags = shell_output(bin/"apfelxx-config --cppflags --ldflags").split
    system ENV.cxx, "-std=c++11", prefix/"dglap_test.cc", "-o", "test", *flags
    system "./test"
  end
end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…