Conversation
Finding the various directories in the bundle is done by first looking for a src directory in the same directory as the executable. This indicates that we are in a development tree. If this is found then we navigate upwards to the _SourceDir, which is the root of the tree. If we are not in a development tree then check the environment variable CLASP_HOME. If it is set then use that for _SourceDir. If _SourceDir has been set by one of the previous two methods then use the CLASP_DEV_yyy defines to locate the other directories. If _SourceDir has not been set then use the CLASP_INSTALL_yyy defines to locate all directories including _SourceDir. - Remove _InstallDir and _ContentsDir as they are not needed in updated algorithm. - Rename _LispSourceDir to _SysDir to match its logical host name. - Add logical host STARTUP for extension startup load scripts so they can be installed in a different location then the binaries. - Add CLASP_DEV_yyy and CLASP_INSTALL_yyy C macros so that location of the various directories can be controlled by waf or koga. - Add bin-path, lib-path and share-path slots to koga.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bundle Logic
Finding the various directories in the bundle is done by first looking for a src directory in the same directory as the executable. This indicates that we are in a development tree. If this is found then we navigate upwards to the _SourceDir, which is the root of the tree.
If we are not in a development tree then check the environment variable CLASP_HOME. If it is set then use that for _SourceDir.
If _SourceDir has been set by one of the previous two methods then use the CLASP_DEV_yyy defines to locate the other directories. If _SourceDir has not been set then use the CLASP_INSTALL_yyy defines to locate all directories including _SourceDir.
Changes
--no-futo koga.core:lisp-implementation-idandcore:clasp-git-full-commitonly returnnon-
NILvalues if Clasp was built in a git working tree.Fixes #175