Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Robert Goldman
Gary King wrote: >> as far as i read it, 'relative' here refers to 'system' in the >> meaning: give me a pathname that is relative to this system. >> > > > Yes, this was the idea: "Make me a (absolute) pathname for X relative > to system Y." No, I don't /think/ that's right. When I call this f

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Gary King
> as far as i read it, 'relative' here refers to 'system' in the > meaning: give me a pathname that is relative to this system. > Yes, this was the idea: "Make me a (absolute) pathname for X relative to system Y." -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkk

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Robert Goldman
Faré wrote: > 2009/10/28 Robert Goldman : >> Faré wrote: >>> 2009/10/28 Gary King : > Speaking of optimization settings, does anyone see any problem with > putting in ASDF something that deterministically (re)sets the > optimization setting before each and any perform operation? Otherwi

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Faré
2009/10/28 Robert Goldman : > Faré wrote: >> 2009/10/28 Gary King : Speaking of optimization settings, does anyone see any problem with putting in ASDF something that deterministically (re)sets the optimization setting before each and any perform operation? Otherwise, optimizati

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Faré
2009/10/28 Gary King : >> Speaking of optimization settings, does anyone see any problem with >> putting in ASDF something that deterministically (re)sets the >> optimization setting before each and any perform operation? Otherwise, >> optimization settings will vary wildly depending on what >> imp

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Gary King
> Speaking of optimization settings, does anyone see any problem with > putting in ASDF something that deterministically (re)sets the > optimization setting before each and any perform operation? Otherwise, > optimization settings will vary wildly depending on what > implementation you use, which f

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Faré
The recommended way is to write a trivial .asd file for said library. The other way is to load this library first thing in your build as part of your Lisp setup, the same that loads asdf.lisp itself and configures your central registry and defines your optimization settings. Speaking of optimizat

Re: [asdf-devel] loading a standalone lisp file

2009-10-28 Thread Stelian Ionescu
On Wed, 2009-10-28 at 15:00 +0100, Tamas Papp wrote: > Hi, > > If I have an ASDF system that :depends-on various other ones _and_ > some other library that does not have and .asd file (eg it is a > standalone .lisp file), what is the standard way of loading the > latter? I am looking for somethin

[asdf-devel] loading a standalone lisp file

2009-10-28 Thread Tamas Papp
Hi, If I have an ASDF system that :depends-on various other ones _and_ some other library that does not have and .asd file (eg it is a standalone .lisp file), what is the standard way of loading the latter? I am looking for something that eg automates manually executing (load (compile-file "/pat

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Robert Goldman
Attila Lendvai wrote: >> Is it a contingent fact about this system that we have an absolute pathname >> here, o have we somehow ended up with a function named >> foo-relative-pathname that returns absolute pathnames? > > > as far as i read it, 'relative' here refers to 'system' in the > meaning:

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Attila Lendvai
> Is it a contingent fact about this system that we have an absolute pathname > here, o have we somehow ended up with a function named > foo-relative-pathname that returns absolute pathnames? as far as i read it, 'relative' here refers to 'system' in the meaning: give me a pathname that is relati

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Robert P. Goldman
Is it a contingent fact about this system that we have an absolute pathname here, o have we somehow ended up with a function named foo-relative-pathname that returns absolute pathnames? ___ Robert P. Goldman Principal Scientist, SIFT, LLC www.sift.info .. Original Message ... On Wed, 28

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Robert P. Goldman
If you have a suggestion about where this information should live in the manual, I will try to submit a patch. ___ Robert P. Goldman Principal Scientist, SIFT, LLC www.sift.info .. Original Message ... On Mon, 26 Oct 2009 15:43:50 +0100 "Tamas Papp" wrote: >Hi, > >Suppose I have a libra

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Attila Lendvai
> (defun query-system-root (x) (asdf:component-pathname (asdf:find-system x))) or with a not too old ASDF: TEST> (asdf:system-relative-pathname :hu.dwim.stefil "") #P"/home/ati/workspace/hu.dwim.stefil/" -- attila ___ asdf-devel mailing list asdf-de

Re: [asdf-devel] how to query root of a system

2009-10-28 Thread Faré
2009/10/26 Tamas Papp : > Hi, > > Suppose I have a library named MYLIBRARY which was installed in the > directory /somewhere/foo/ (eg by ASDF-Install, clbuild or manually by > the user).  It has a /somewhere/foo/mylibrary.asd definition file, > which was duly symlinked to mylibrary.asd in ASDF's ce

[asdf-devel] how to query root of a system

2009-10-28 Thread Tamas Papp
Hi, Suppose I have a library named MYLIBRARY which was installed in the directory /somewhere/foo/ (eg by ASDF-Install, clbuild or manually by the user). It has a /somewhere/foo/mylibrary.asd definition file, which was duly symlinked to mylibrary.asd in ASDF's central registry. The user can load i