The Felix build model is changing as follows.

1. In place builds are no longer supported. It should work for
a while, but cleanup and dependency checking may fail. I do this
all the time so I'm going to have to unlearn this habit.

Instead, builds must be done in a separate directory isolated
from the sources, like this:

mkdir myfelix
/home/me/svn/felix/autogen.py

The idea is that the repository image is immutable from a build
perspective, whilst the working directory is immutable from
a developer editing perspective.

2. Many non-generated files are being taken out of interscript
and put into the repository directly. This should make it easier
for the average programmer to work on the system.

3. Ideally, the division mentioned in 1 is like this:

        A. source: not modified by build, edited by developers

        B. build: created and modified by build, must not
            be edited by developers or users. The build area
            is transient can can be entirely deleted.

        C. Configuration: persistent
           Created by configuration system once.
           Can be edited by users. 

        D. Configuration: generated
                Created by config system. Must not be edited.
                Can be deleted. Influenced by persistent config

The configuration split is the hard part here. Persistent
configuration data is necessary, for example if SDL is in some
weird place on your system, this is where to tell Felix where
to find it. However, to understand the instructions over time
requires a stable ABI, and the very complexity and difficulty
of configurations is likely to mean it changes with versions.

The generated config should not be edited. It is created by
inspecting your system, partly under control of the persistent
configuration.

At the moment the whole config is rebuilt every time, and,
there is no persistent config data.



-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to