nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#964 Rename core folder, #2690

Closed nikhilgupta10 closed 7 years ago

nikhilgupta10 commented 7 years ago

The core folder needs to be renamed to something that doesn't conflict with OSX/linux naming conventions. Attached is a patch that almost work right. There is still an error message that seems to have no impact emitted by autoreconf. This patch passes validation on Mac OSX.,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: "dchassin":The patch was committed to ticket/964 at r5455. However, it was missing needed fixes to checkpkgs and build-aux/version.sh. Those were included in r5456.,

"dchassin":Some tips when applying this fix to an existing working copy of trunk:

  1. Do make clean before running svn update
  2. After svn update, run autoreconf and ./configure before running make ,

    "dchassin":To do this process manually, you must first clean your current build:

host% make clean

Then change every instance of core to gldcore in the following files

build-aux/version.sh
checkpkgs
Makefile.am
configure.ac
core/Makefile.mk
core/version.c
core/solvers/Makefile.mk
core/rt/Makefile.mk
core/link/matlab/Makefile.mk

Then you must move core to gldcore in subversion:

host% svn move core gldcore

Then you can rebuild from scratch starting with autoreconf, followed by ./configure, make, make validate, and make install.,

"dchassin":- assigned_to: David P. Chassin --> Andy Fisher