Hello,
could we split the AI folder from the datadir direction?
I have problems with openSUSE buildservice since they use a script to check rpm packages if they are correctly packaged.
The script complains about the AI .so files in the datadir if they are stored under /usr/share/games/spring/AI.
They should be located here /usr/lib(64)/*.
To by pass this I moved the complete datadir to /usr/lib(64) but this includes none binary files which should stay on the old location.
Split AI folder from datadir
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Split AI folder from datadir
Added a AIDIR (which defaults to DATADIR) where you can choose install directory. They will be isntallled to $CMAKE_INSTALL_PREFIX/$AIDIR/AI/Bot-Libs/libAAI.so
Keep in mind you have to make $AIDIR known to spring (by adding it to /etc/spring/datadir for example).
Keep in mind you have to make $AIDIR known to spring (by adding it to /etc/spring/datadir for example).
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: Split AI folder from datadir
perhaps AI should be split into AILIB and AIDATA, AILIB for platform dependent stuff and AIDATA for platform independent stuff
eg.
/usr/lib/spring/AI/blah.so
/usr/share/spring/AI/blah/config
eg.
/usr/lib/spring/AI/blah.so
/usr/share/spring/AI/blah/config
Re: Split AI folder from datadir
no.. dont do that!
this will all change heavyly and be obsolete with the new interface.. which is going to come soon!
main problem at the moment is: buildbot does not want to build it (though it is most likely my fault) i will try to eliminate this tomorow, as the buildbot can now compile branches again.
this will all change heavyly and be obsolete with the new interface.. which is going to come soon!

main problem at the moment is: buildbot does not want to build it (though it is most likely my fault) i will try to eliminate this tomorow, as the buildbot can now compile branches again.