Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
infinicore
Commits
eab61cb3
"git@developer.sourcefind.cn:tsoc/superbenchmark.git" did not exist on "5f6ad0cd63be13e40394f85c16334c31a1d771cc"
Commit
eab61cb3
authored
Mar 14, 2025
by
PanZezhong
Browse files
issue/68/fix 修复omp库链接问题
parent
615e2e25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
xmake/test.lua
xmake/test.lua
+5
-0
No files found.
xmake/test.lua
View file @
eab61cb3
...
@@ -23,6 +23,11 @@ target("infiniop-test")
...
@@ -23,6 +23,11 @@ target("infiniop-test")
add_linkdirs
(
INFINI_ROOT
..
"/lib"
)
add_linkdirs
(
INFINI_ROOT
..
"/lib"
)
add_links
(
"infiniop"
,
"infinirt"
)
add_links
(
"infiniop"
,
"infinirt"
)
if
has_config
(
"omp"
)
then
add_cxflags
(
"-fopenmp"
)
add_ldflags
(
"-fopenmp"
)
end
add_includedirs
(
os
.
projectdir
()
..
"/src/infiniop-test/include"
)
add_includedirs
(
os
.
projectdir
()
..
"/src/infiniop-test/include"
)
add_files
(
os
.
projectdir
()
..
"/src/infiniop-test/src/*.cpp"
)
add_files
(
os
.
projectdir
()
..
"/src/infiniop-test/src/*.cpp"
)
add_files
(
os
.
projectdir
()
..
"/src/infiniop-test/src/ops/*.cpp"
)
add_files
(
os
.
projectdir
()
..
"/src/infiniop-test/src/ops/*.cpp"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment