[Swift-devel] Re: Question of wrapper.sh

Zhao Zhang zhaozhang at uchicago.edu
Sun Mar 9 20:55:53 CDT 2008


Hi, Ben

Here is the script that we are using to build the provider

#/bin/sh


if [ -z "${FALKON_ROOT}" ]; then
    echo "ERROR: environment variable FALKON_ROOT not defined"  1>&2
    return 1
fi

if [ ! -d "${FALKON_ROOT}" ]; then
    echo "ERROR: invalid FALKON_ROOT set: $FALKON_ROOT" 1>&2
    return 1
fi

cd ${FALKON_ROOT}/cog/modules/provider-deef

ant distclean

ant -Ddist.dir=../vdsk/dist/vdsk-0.3-dev/ dist


So I need to delete the last line and add

ant -Dwith-provider-deef -Ddist.dir=../vdsk/dist/vdsk-0.3-dev/ redist


right?


zhao
Ben Clifford wrote:
> On Sun, 9 Mar 2008, Zhao Zhang wrote:
>
>   
>> well, the tar ball I sent in the last email is from 256 cores, are they from
>> the same cpu? By the way, I tried to find the .log files, but there isn't any
>> in the folder where I started the swift script.
>>     
>
> How are you building provider-deef? The old way messes up logging. Since 
> r1525 in December, a way to build that doesn't do this is to build swift 
> and provider-deef at the same time, by using this command in the vdsk 
> directory:
>
>   ant -Dwith-provider-deef redist
>
> You'll get a warning like this:
>  [input] Warning! The specified target directory 
> (/Users/benc/work/cog/modules/swift/../..//modules/swift/dist/swift-0.3-dev) 
> does not seem to contain a Swift build. 
>
> which is not a problem - press return a few times to get the build to 
> continue.
>
>   



More information about the Swift-devel mailing list