Skip to content

Commit

Permalink
openmp fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
samayala22 committed Feb 2, 2024
1 parent 48dcdde commit 9180944
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vlm/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ add_requires("openmp")

target("libvlm")
set_kind("static")
add_packages("openmp") -- needed for gcc linker
for _,name in ipairs(backends) do
if has_config(backend_option(name)) then
add_defines(backend_defines(name))
Expand All @@ -17,14 +16,15 @@ target("vlm")
set_kind("binary")
set_default(true)
add_rpathdirs("$ORIGIN") -- tbb dll must be in same dir as exe
add_packages("openmp") -- needed for gcc linker (for eigen)
add_deps("libvlm") -- core library
set_runargs({"-i"}, {"../../../../config/elliptic.vlm"}, {"-m"}, {"../../../../mesh/elliptic_64x64.x"}, {"-o"}, {"../../../../results/elliptic.vtu"})
add_files("dev/main.cpp")

-- xmake run vlm -i ../../../../config/swept.vlm -m ../../../../mesh/rectangular_4x4.x -o ../../../../results/rec.vtu

target("vlm-tests")
set_kind("binary")
set_default(false)
add_deps("libvlm")
add_files("dev/tests.cpp")
-- target("vlm-tests")
-- set_kind("binary")
-- set_default(false)
-- add_deps("libvlm")
-- add_files("dev/tests.cpp")

0 comments on commit 9180944

Please sign in to comment.