Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
d294c760
Commit
d294c760
authored
May 23, 2019
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
rename some more
parent
e7aea674
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+8
-8
8 additions, 8 deletions
CMakeLists.txt
TurTLE/test/test_turtle_NSVEparticles.py
+0
-0
0 additions, 0 deletions
TurTLE/test/test_turtle_NSVEparticles.py
setup.py
+5
-5
5 additions, 5 deletions
setup.py
with
13 additions
and
13 deletions
CMakeLists.txt
+
8
−
8
View file @
d294c760
...
@@ -279,12 +279,12 @@ set(hpp_for_lib
...
@@ -279,12 +279,12 @@ set(hpp_for_lib
#file(GLOB_RECURSE hpp_for_lib ${PROJECT_SOURCE_DIR}/*.hpp)
#file(GLOB_RECURSE hpp_for_lib ${PROJECT_SOURCE_DIR}/*.hpp)
LIST
(
APPEND source_files
${
hpp_for_lib
}
${
cpp_for_lib
}
)
LIST
(
APPEND source_files
${
hpp_for_lib
}
${
cpp_for_lib
}
)
add_library
(
t
ur
tle
${
source_files
}
)
add_library
(
T
ur
TLE
${
source_files
}
)
target_link_libraries
(
t
ur
tle
${
TURTLE_LIBS
}
)
target_link_libraries
(
T
ur
TLE
${
TURTLE_LIBS
}
)
install
(
TARGETS
t
ur
tle
EXPORT TURTLE_EXPORT DESTINATION lib/
)
install
(
TARGETS
T
ur
TLE
EXPORT TURTLE_EXPORT DESTINATION lib/
)
install
(
DIRECTORY
${
PROJECT_SOURCE_DIR
}
/cpp/ DESTINATION include/
t
ur
tle
/ FILES_MATCHING PATTERN
"*.h*"
)
install
(
DIRECTORY
${
PROJECT_SOURCE_DIR
}
/cpp/ DESTINATION include/
T
ur
TLE
/ FILES_MATCHING PATTERN
"*.h*"
)
#####################################################################################
#####################################################################################
## Export the configuration
## Export the configuration
...
@@ -292,18 +292,18 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/cpp/ DESTINATION include/turtle/ FILES_M
...
@@ -292,18 +292,18 @@ install(DIRECTORY ${PROJECT_SOURCE_DIR}/cpp/ DESTINATION include/turtle/ FILES_M
configure_file
(
${
PROJECT_SOURCE_DIR
}
/cmake/TurTLEConfig.cmake.in
${
PROJECT_BINARY_DIR
}
/TurTLEConfig.cmake @ONLY
)
configure_file
(
${
PROJECT_SOURCE_DIR
}
/cmake/TurTLEConfig.cmake.in
${
PROJECT_BINARY_DIR
}
/TurTLEConfig.cmake @ONLY
)
install
(
FILES
"
${
PROJECT_BINARY_DIR
}
/TurTLEConfig.cmake"
DESTINATION lib/
)
install
(
FILES
"
${
PROJECT_BINARY_DIR
}
/TurTLEConfig.cmake"
DESTINATION lib/
)
export
(
TARGETS
t
ur
tle
FILE
"
${
PROJECT_BINARY_DIR
}
/TurTLELibraryDepends.cmake"
)
export
(
TARGETS
T
ur
TLE
FILE
"
${
PROJECT_BINARY_DIR
}
/TurTLELibraryDepends.cmake"
)
install
(
EXPORT TURTLE_EXPORT DESTINATION lib/
)
install
(
EXPORT TURTLE_EXPORT DESTINATION lib/
)
#####################################################################################
#####################################################################################
## Install the python wrapper
## Install the python wrapper
# copy command
# copy command
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
PROJECT_SOURCE_DIR
}
/
t
ur
tle
${
PROJECT_BINARY_DIR
}
/python/
t
ur
tle
/)"
)
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
PROJECT_SOURCE_DIR
}
/
T
ur
TLE
${
PROJECT_BINARY_DIR
}
/python/
T
ur
TLE
/)"
)
if
(
EXISTS
"
${
PROJECT_SOURCE_DIR
}
/host_info.py"
)
if
(
EXISTS
"
${
PROJECT_SOURCE_DIR
}
/host_info.py"
)
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PROJECT_SOURCE_DIR
}
/host_info.py
${
PROJECT_BINARY_DIR
}
/python/
t
ur
tle
/)"
)
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PROJECT_SOURCE_DIR
}
/host_info.py
${
PROJECT_BINARY_DIR
}
/python/
T
ur
TLE
/)"
)
else
()
else
()
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PROJECT_SOURCE_DIR
}
/pc_host_info.py
${
PROJECT_BINARY_DIR
}
/python/
t
ur
tle
/host_info.py)"
)
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PROJECT_SOURCE_DIR
}
/pc_host_info.py
${
PROJECT_BINARY_DIR
}
/python/
T
ur
TLE
/host_info.py)"
)
endif
()
endif
()
install
(
CODE
"execute_process(COMMAND python
${
PROJECT_SOURCE_DIR
}
/setup.py install --force --prefix=
${
CMAKE_INSTALL_PREFIX
}
WORKING_DIRECTORY
${
PROJECT_BINARY_DIR
}
/python/)"
)
install
(
CODE
"execute_process(COMMAND python
${
PROJECT_SOURCE_DIR
}
/setup.py install --force --prefix=
${
CMAKE_INSTALL_PREFIX
}
WORKING_DIRECTORY
${
PROJECT_BINARY_DIR
}
/python/)"
)
This diff is collapsed.
Click to expand it.
TurTLE/test/test_
bfps
_NSVEparticles.py
→
TurTLE/test/test_
turtle
_NSVEparticles.py
+
0
−
0
View file @
d294c760
File moved
This diff is collapsed.
Click to expand it.
setup.py
+
5
−
5
View file @
d294c760
...
@@ -80,11 +80,11 @@ setup(
...
@@ -80,11 +80,11 @@ setup(
package_data
=
{
'
TurTLE
'
:
[
'
test/B32p1e4_checkpoint_0.h5
'
]},
package_data
=
{
'
TurTLE
'
:
[
'
test/B32p1e4_checkpoint_0.h5
'
]},
entry_points
=
{
entry_points
=
{
'
console_scripts
'
:
[
'
console_scripts
'
:
[
'
turtle =
t
ur
tle
.__main__:main
'
,
'
turtle =
T
ur
TLE
.__main__:main
'
,
'
turtle.test_NSVEparticles =
t
ur
tle
.test.test_turtle_NSVEparticles:main
'
,
'
turtle.test_NSVEparticles =
T
ur
TLE
.test.test_turtle_NSVEparticles:main
'
,
'
turtle.test_particles =
t
ur
tle
.test.test_particles:main
'
,
'
turtle.test_particles =
T
ur
TLE
.test.test_particles:main
'
,
'
turtle.test_Parseval =
t
ur
tle
.test.test_Parseval:main
'
,
'
turtle.test_Parseval =
T
ur
TLE
.test.test_Parseval:main
'
,
'
turtle.test_fftw =
t
ur
tle
.test.test_fftw:main
'
],
'
turtle.test_fftw =
T
ur
TLE
.test.test_fftw:main
'
],
},
},
version
=
VERSION
,
version
=
VERSION
,
########################################################################
########################################################################
...
...
...
...
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
sign in
to comment