Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
spm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
spm
Commits
661a48a6
Commit
661a48a6
authored
9 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Try to cleanup the CMakeLists to split in separated files, but still not used yet
parent
5fb4b13a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+49
-13
49 additions, 13 deletions
CMakeLists.txt
with
49 additions
and
13 deletions
CMakeLists.txt
+
49
−
13
View file @
661a48a6
# include(RulesPrecisions)
include
(
RulesPrecisions
)
# # reset variables
# set(generated_files "")
# set(generated_headers "")
#
set(HEADERS
#
## reset variables
# z_spm.h
set
(
generated_sources
""
)
#
)
set
(
generated_headers
""
)
# ### generate the dsparse_cores headers for all possible precisions
set
(
HEADERS
# precisions_rules_py(generated_headers
z_spm.h
# "${HEADERS}"
)
# PRECISIONS "p;s;d;c;z")
# add_custom_target(spm_headers
### Generate the headers in all precisions
# DEPENDS ${generated_headers} )
precisions_rules_py
(
generated_headers
"
${
HEADERS
}
"
PRECISIONS
"p;s;d;c;z"
)
set
(
SOURCES
z_spm.c
z_spm_convert_to_csc.c
z_spm_convert_to_csr.c
z_spm_convert_to_ijv.c
z_spm_genrhs.c
z_spm_matrixvector.c
z_spm_norm.c
)
set
(
spm_headers
${
generated_headers
}
csc.h
)
### Generate the sources in all precisions
precisions_rules_py
(
generated_sources
"
${
SOURCES
}
"
PRECISIONS
"p;s;d;c;z"
)
set
(
spm_sources
${
generated_sources
}
csc.c
csc_io.c
)
add_custom_target
(
spm_headers_tgt
DEPENDS
${
spm_headers
}
)
set_source_files_properties
(
spm/csc.c
PROPERTIES DEPENDS spm_headers_tgt
)
set
(
PASTIX_LIB_SRCS
${
PASTIX_LIB_SRCS
}
${
spm_sources
}
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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