diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/premake5.lua b/premake5.lua index c222c35..0c5483d 100644 --- a/premake5.lua +++ b/premake5.lua @@ -20,8 +20,8 @@ -- env LD_LIBRARY_PATH=./build/bin/Debug/:$GUIX_ENVIRONMENT/lib guile -- (load-extension "libgemmalib" "init_module") -local pkg_cpp_flags = os.outputof("pkg-config --cflags guile-3.0 gsl zlib openblas") -local pkg_linker_flags = os.outputof("pkg-config --libs guile-3.0 gsl zlib openblas") +local pkg_cpp_flags = os.outputof("pkg-config --cflags openblas guile-3.0 gsl zlib") +local pkg_linker_flags = os.outputof("pkg-config --libs openblas guile-3.0 gsl zlib") workspace "PanGemma" configurations { "Debug", "Release" } @@ -37,8 +37,6 @@ workspace "PanGemma" removefiles { "src/main.cpp" } includedirs { "src/" } - -- links { "gsl", "z", "openblas" } - filter "configurations:Debug" defines { "DEBUG" } symbols "On" @@ -56,11 +54,11 @@ project "gemma" objdir "build/" targetdir "build/bin/%{cfg.buildcfg}" - -- includedirs { os.getenv("GUIX_ENVIRONMENT") .. "/include/guile/3.0" } files { "src/*.h src/*.c src/**.hpp", "src/**.cpp" } removefiles { "src/gemma_api.cpp" } includedirs { "src/" } - -- links { "z", "openblas" } + links { "openblas" } + filter "configurations:Debug" defines { "DEBUG" } @@ -68,7 +66,7 @@ project "gemma" filter "configurations:Release" defines { "NDEBUG", "HAVE_INLINE" } - -- buildoptions { "-pthread", "-Wall" } + buildoptions { "-pthread", "-Wall" } buildoptions { pkg_cpp_flags } linkoptions { pkg_linker_flags } optimize "Speed" |
