Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
7e845caf
Commit
7e845caf
authored
8 years ago
by
Vasileios Karakasis
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #78 from bcumming/bug/cmake-mechanism-paths
bugfix for missing mechanism paths
parents
97e17b18
0cc8c4c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mechanisms/CMakeLists.txt
+6
-0
6 additions, 0 deletions
mechanisms/CMakeLists.txt
with
6 additions
and
0 deletions
mechanisms/CMakeLists.txt
+
6
−
0
View file @
7e845caf
...
...
@@ -9,6 +9,12 @@ if(USE_OPTIMIZED_KERNELS) # generate optimized kernels
set
(
modcc_flags
${
modcc_flags
}
-O
)
endif
()
# make path for the kernels that will be generated by modcc
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/multicore
)
if
(
WITH_CUDA
)
file
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/gpu
)
endif
()
# generate source for each mechanism
foreach
(
mech
${
mechanisms
}
)
set
(
mod
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/mod/
${
mech
}
.mod"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment