[Piglit] [PATCH 0/3] Update piglit install locations

Jordan Justen jljusten at gmail.com
Fri May 2 14:50:30 PDT 2014


On Fri, May 2, 2014 at 2:12 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> On Friday, May 02, 2014 12:41:03 Jordan Justen wrote:
>> Rather than '../lib/piglit', could you use path.join('..', 'lib',
>> path.basename(sys.argv[0]))?
>
> sure.
>
>> Is there a way to install piglit as:
>
>> piglit${PIGLIT_INSTALL_VERSION_SUFFIX}
>>
>> My thought is someone could package piglit as piglit-version-foo and
>> then regression test against that version. (And be able to install
>> multiple versions.
>
> I assume we could do that, but what would that change do other than
> making the command harder to use, since it installs
> ${install_root}/{lib,bin,share} with no version string, what would be
> the point?

I think "cmake: Add version suffix for install paths" will allow it
install to different paths.

Also, the sys.argv[0] above would then point to the different
installed lib directory, so that is related.

-Jordan


More information about the Piglit mailing list