[email protected] writes:

> -----Original Message----- 
> From: Dima Kogan
>
>>[email protected] writes:
>
>>> I'm not sure how to grab the relevant source to test. Is is just a
>>> matter of doing a normal 'git pull' ?
>>
>> You want to check out a specific branch. Maybe you can do it with 'git
>> pull'. I usually work more explicitly:
>>
>> 1. git fetch
>> 2. git checkout -b test_flexible_array origin/test_flexible_array
>
> Ok - I can do that:
>
> ################################
> sisyphus@Owner-PC311012 ~/git/pdl-code
> $ git fetch
> Password:
> remote: Counting objects: 76, done.
> remote: Compressing objects: 100% (62/62), done.
> remote: Total 62 (delta 48), reused 0 (delta 0)
> Unpacking objects: 100% (62/62), done.
> From ssh://git.code.sf.net/p/pdl/code
>    46468fb..ed50f5c  master     -> origin/master
> * [new branch]      fix-test-for-late-gcc -> origin/fix-test-for-late-gcc
> * [new branch]      test_flexible_array -> origin/test_flexible_array
>
> sisyphus@Owner-PC311012 ~/git/pdl-code
> $ git checkout -b test_flexible_array origin/test_flexible_array
> Branch test_flexible_array set up to track remote branch test_flexible_array 
> from origin.
> Switched to a new branch 'test_flexible_array'
>
> sisyphus@Owner-PC311012 ~/git/pdl-code
> #######################################
>
> Then what ?
> I can now copy the pdl-code directory to some location (like I normally do), 
> 'cd' to that location and start building the source ('perl Makefile.PL', 
> 'nmake test') - but will that use the code that's in the test_flexible_array 
> branch ?
>
> In fact, I've just created such a copy, and it seems to be going fine with 
> MSVC++ 6.0 on various builds of ActivePerl - but I've absolutely no idea 
> whether it's compiling the code we want to check.

When you do a 'git checkout', your local copy of the source is set to
the thing you checked out. So making a copy and building (as you have
done) should be the right thing to do. You can make absolutely certain
by looking at Basic/Core/pdl.h.PL that you used in your build. If it has
the string 'PDL_TRANS_START_FLEXIBLE' in it, then it's the new code.

I'm glad to hear that it works with your MSVC. Is that good enough? Do
we care about any other versions of MSVC? If we don't then that's good
enough for me, and I'll push this code into master.

Thanks

dima

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to