-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64068a6
commit 54197a8
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
with import <nixpkgs> { }; | ||
|
||
clangStdenv.mkDerivation { | ||
name = "roofit"; | ||
src = ./.; | ||
|
||
buildInputs = [ | ||
(root.overrideAttrs (old: { cmakeFlags = old.cmakeFlags ++ [ "-Droofit=OFF -Dtmva=OFF" ]; })) | ||
cmake | ||
gtest | ||
gsl | ||
pkg-config | ||
]; | ||
|
||
cmakeFlags = [ | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set (CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "" FORCE) | ||
set (CMAKE_INSTALL_PREFIX ../install CACHE STRING "" FORCE) | ||
set (CMAKE_INSTALL_BINDIR bin CACHE STRING "" FORCE) | ||
set (CMAKE_INSTALL_INCLUDEDIR include CACHE STRING "" FORCE) | ||
set (CMAKE_INSTALL_LIBDIR lib CACHE STRING "" FORCE) | ||
set (testing ON CACHE BOOL "" FORCE) | ||
set (mathmore ON CACHE BOOL "" FORCE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
set -g ROOT_INCLUDE_PATH $PWD/install/include | ||
set -g -a LD_LIBRARY_PATH $PWD/install/lib | ||
set -g -a DYLD_LIBRARY_PATH $PWD/install/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export ROOT_INCLUDE_PATH=$PWD/install/include | ||
export LD_LIBRARY_PATH=$PWD/install/lib:$LD_LIBRARY_PATH | ||
export DYLD_LIBRARY_PATH=$PWD/install/lib:$DYLD_LIBRARY_PATH |