Re: [DynInst_API:] Building Testsuite


Date: Mon, 08 Jul 2019 16:50:54 -0500
From: Tim Haines <thaines.astro@xxxxxxxxx>
Subject: Re: [DynInst_API:] Building Testsuite
>I am familiar with installing the test suite using CMAKE, I would like to know if there are any issues with having this work with the Spack installed Dyninst?

Ah, ok. I wasn't sure if you had built the Testsuite before. In that case, it _should_ work fine as long as you are using v10.1 or newer (which I believe you were). You can just point Dyninst_DIR at the Spack installation of Dyninst. I've not tried this before, so definitely let me know if you encounter any issues.

For the other items, it looks like you could also use our automated build system that we are using for CI. It builds both Dyninst and Testsuite from source (with any necessary 3rd-party dependencies downloaded and built from source, as well), and then runs the Testsuite for you. It outputs a tarball that can then be imported into our Dashboard for comparison with other platforms (you'd have to email me the tarball, as our public dashboard isn't set up yet). Sharing the results is purely voluntary, but it helps us track how Dyninst is behaving on different platforms. The results only identify the machine by its hostname, OS version, and libc version. If you aren't comfortable disclosing that publicly, it's ok. We would still be interested in seeing the results for our own internal knowledge.

Thanks.

Â- Tim

On Mon, Jul 8, 2019 at 10:45 AM Suman, Preeti <preeti.suman@xxxxxxxxx> wrote:

Hello Tim,

Â

That sounds good. I am familiar with installing the test suite using CMAKE, I would like to know if there are any issues with having this work with the Spack installed Dyninst?

My answers for the following questions:

Â

1.ÂÂÂÂÂ Did you use Spack to build the version of gcc you used to compile Dyninst?

[PS] I did not use Spack to build the version of GCC, used to compile Dyninst.

I am using GCC-9.1.0.

2.ÂÂÂÂÂ Are you using Linux?

[PS] Yes. I am using SLES 15 SP1.

3.ÂÂÂÂÂ What version of perl do you have installed (perl -v)?

[PS] This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi.

Perl was built using Spack.

Â

Thanks,

Preeti

Â

From: Tim Haines [mailto:thaines.astro@xxxxxxxxx]
Sent: Wednesday, July 3, 2019 4:19 PM
To: Suman, Preeti <preeti.suman@xxxxxxxxx>
Cc: dyninst-api@xxxxxxxxxxx
Subject: Re: [DynInst_API:] Building Testsuite

Â

Hi, Preeti.

Â

>Is it possible to build the testsuite with Spack as well?

Â

Currently, there is no method of installing the Testsuite through Spack.

Â

>If not, is it possible to use the Spack installed Dyninst to build the Test suite from source?

Â

Building the Testsuite is a bit involved and not well-documented. I would be happy to help you through the process, but there is another method we use that might work for you. I have a couple of questions first.

Â

1. Did you use Spack to build the version of gcc you used to compile Dyninst?

2. Are you using Linux?

3. What version of perl do you have installed (perl -v)?

Â

If you could let me know about these items, we can get you started.

Â

Thanks.

Â

Â- Tim

Â

Â

Â

On Wed, Jul 3, 2019 at 4:06 PM Suman, Preeti <preeti.suman@xxxxxxxxx> wrote:

Hello,

Â

I have used Spack to build Dyninst-10.1.0 with GCC compiler. Is it possible to build the testsuite with Spack as well?

If not, is it possible to use the Spack installed Dyninst to build the Test suite from source?

Â

Thank you,

Preeti Suman

Â

_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

[← Prev in Thread] Current Thread [Next in Thread→]