Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Create a new script nrnivmodl-core #442

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions coreneuron/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ set_target_properties(
# =============================================================================
add_custom_target(
nrniv-core ALL
COMMAND ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core -b STATIC
-m ${CORENRN_MOD2CPP_BINARY}
-p 1
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core.py
--build-type=STATIC --binary ${CORENRN_MOD2CPP_BINARY}
--verbose -j 1
${CORENEURON_PROJECT_SOURCE_DIR}/tests/integration/ring_gap/mod
WORKING_DIRECTORY
${CMAKE_BINARY_DIR}/bin
BYPRODUCTS
BYPRODUCTS
${CMAKE_BINARY_DIR}/bin/${CMAKE_SYSTEM_PROCESSOR}/special-core
COMMENT "Running nrnivmodl-core with halfgap.mod")
add_dependencies(nrniv-core scopmath coreneuron ${NMODL_TARGET_TO_DEPEND})
Expand Down
5 changes: 3 additions & 2 deletions extra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ set(nmodl_binary_name ${nmodl_name})

configure_file(nrnivmodl_core_makefile.in
${CMAKE_BINARY_DIR}/share/coreneuron/nrnivmodl_core_makefile @ONLY)
configure_file(nrnivmodl-core.in ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core @ONLY)
configure_file(nrnivmodl-core.py
${CMAKE_BINARY_DIR}/bin/nrnivmodl-core.py COPYONLY)

install(FILES ${CMAKE_BINARY_DIR}/share/coreneuron/nrnivmodl_core_makefile
DESTINATION share/coreneuron)
install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core DESTINATION bin)
install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/nrnivmodl-core.py DESTINATION bin)
148 changes: 0 additions & 148 deletions extra/nrnivmodl-core.in

This file was deleted.

Loading