Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Issue 6746009: Add piglit ebuilds (Closed)

Created:
9 years, 9 months ago by ilja
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, msb+crosoverlay_chromium.org, adlr+crosoverlay_chromium.org, anush
Visibility:
Public.

Description

Add ebuilds to cross-compile piglit OpenGL library. See also http://codereview.chromium.org/6745001 for autotest setup. BUG=chromium-os:13932 TEST= ./build_packages --board=${BOARD} --oldchromebinary --withautotest | grep piglit ls /build/${BOARD}/usr/local/autotest/packages/piglit.tar.gz Takes about 12 minutes on my mario. Should say "Pass" and return count_subtests_pass etc. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=65bbe2c

Patch Set 1 #

Patch Set 2 : Skip building and running on non-x86 boards due to lack of OpenGL #

Patch Set 3 : Undelete autotest.ebuild #

Patch Set 4 : add chromeous-test dependency #

Total comments: 10

Patch Set 5 : responding to sosa #

Patch Set 6 : responding to zdenek #

Total comments: 5

Patch Set 7 : fix comment #

Patch Set 8 : responding to zdenek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
A chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
M chromeos-base/autotest-tests/autotest-tests-9999.ebuild View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chromeos-base/chromeos-test/chromeos-test-0.1.0.ebuild View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
D chromeos-base/chromeos-test/chromeos-test-0.1.0-r21.ebuild View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + chromeos-base/chromeos-test/chromeos-test-0.1.0-r22.ebuild View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
ilja
The main problem I had with piglit is that it has no install. the binaries ...
9 years, 9 months ago (2011-03-25 22:34:47 UTC) #1
DaleCurtis
+ericli I don't think this is the right way to go about this, especially since ...
9 years, 9 months ago (2011-03-25 22:44:50 UTC) #2
ericli
Question: can you elaborate "the binaries are run against the config files that live with ...
9 years, 9 months ago (2011-03-25 23:02:32 UTC) #3
petkov
-me, +zbehan -- he understands more how these autotest-deps ebuilds work.
9 years, 9 months ago (2011-03-25 23:13:32 UTC) #4
ilja
On 2011/03/25 23:02:32, ericli wrote: > Question: can you elaborate "the binaries are run against ...
9 years, 9 months ago (2011-03-26 00:35:27 UTC) #5
ilja
On 2011/03/25 22:44:50, dalec wrote: > I don't think this is the right way to ...
9 years, 9 months ago (2011-03-26 00:52:14 UTC) #6
ericli
Got it. I would suggest to take a look how page cycler test was integrated ...
9 years, 9 months ago (2011-03-26 01:15:55 UTC) #7
zbehan
Hi Ilja, A comment regarding ebuild setup: Ebuilds don't replace a build system, merely wrap ...
9 years, 9 months ago (2011-03-27 11:09:39 UTC) #8
ilja
On 2011/03/26 01:15:55, ericli wrote: > You mentioned 100M x86 binaries, so this test is ...
9 years, 8 months ago (2011-03-30 05:17:18 UTC) #9
ilja
Hi Zdenek, Ok. I got that ebuild calls autotest and autotest should do all the ...
9 years, 8 months ago (2011-03-30 05:38:35 UTC) #10
DaleCurtis
Sorry for the delay. If this breaks on ARM then it'll break the ARM builders ...
9 years, 8 months ago (2011-04-04 17:46:50 UTC) #11
ilja
Hi Dale, thanks for letting me know about the ARM blocker. I will work on ...
9 years, 8 months ago (2011-04-04 20:15:01 UTC) #12
marcheu
On Mon, Apr 4, 2011 at 10:46, <dalecurtis@chromium.org> wrote: > Sorry for the delay. > ...
9 years, 8 months ago (2011-04-04 22:06:56 UTC) #13
ihf
So, we are in a situation where a feature (OpenGL) is only available on some ...
9 years, 8 months ago (2011-04-05 18:49:01 UTC) #14
DaleCurtis
We already have a). It doesn't solve the build breaking on ARM though. b) or ...
9 years, 8 months ago (2011-04-05 19:03:14 UTC) #15
ihf
Ok. I'll implement b) and skip build if SYSROOT does not contain x86. If there ...
9 years, 8 months ago (2011-04-05 20:28:22 UTC) #16
sosa1
I suggested that we use the ebuild keywords in autotest-tests to conditionalize whether to build ...
9 years, 8 months ago (2011-04-05 20:31:15 UTC) #17
zbehan
All tests in autotest-tests are exposed as a USE flag by itself, so that they ...
9 years, 8 months ago (2011-04-05 20:49:02 UTC) #18
ihf
I went through and implemented b). I've moved code around such that it looks more ...
9 years, 8 months ago (2011-04-08 01:32:23 UTC) #19
sosa
It seems like you have too many copies of this RDEPEND. You should only need ...
9 years, 8 months ago (2011-04-11 21:12:29 UTC) #20
DaleCurtis
http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild File chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild (right): http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild#newcode1 chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild:1: # Copyright (c) 2010 The Chromium OS Authors. All ...
9 years, 8 months ago (2011-04-11 22:12:42 UTC) #21
DaleCurtis
http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild File chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild (right): http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild#newcode1 chromeos-base/autotest-deps/autotest-deps-0.0.1-r551.ebuild:1: # Copyright (c) 2010 The Chromium OS Authors. All ...
9 years, 8 months ago (2011-04-11 22:12:42 UTC) #22
ilja
Spoke with Zdenek and Sosa and addressed their concerns. http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild File chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild (right): http://codereview.chromium.org/6746009/diff/13002/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild#newcode14 chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild:14: ...
9 years, 8 months ago (2011-04-11 23:22:08 UTC) #23
zbehan
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild File chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild (right): http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild#newcode7 chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild:7: inherit cros-workon autotest-deponly conflict conflict is unused here, i ...
9 years, 8 months ago (2011-04-11 23:37:20 UTC) #24
ilja
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild File chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild (right): http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild#newcode7 chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild:7: inherit cros-workon autotest-deponly conflict On 2011/04/11 23:37:20, zbehan wrote: ...
9 years, 8 months ago (2011-04-11 23:51:44 UTC) #25
zbehan
9 years, 8 months ago (2011-04-12 00:00:35 UTC) #26
Looking much better now, thanks! LGTM

On 2011/04/11 23:51:44, ihf wrote:
>
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps...
> File chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild
> (right):
> 
>
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps...
> chromeos-base/autotest-deps-piglit/autotest-deps-piglit-9999.ebuild:7: inherit
> cros-workon autotest-deponly conflict
> On 2011/04/11 23:37:20, zbehan wrote:
> > conflict is unused here, i suspect that's due to a copy/paste from the other
> > -deps ebuilds? You should get rid of it.
> 
> Done.
> 
>
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps...
> File chromeos-base/autotest-deps/autotest-deps-9999.ebuild (right):
> 
>
http://codereview.chromium.org/6746009/diff/19003/chromeos-base/autotest-deps...
> chromeos-base/autotest-deps/autotest-deps-9999.ebuild:39:
> chromeos-base/autotest-deps-piglit
> On 2011/04/11 23:37:20, zbehan wrote:
> > I don't think this is needed or relevant. -libaio is here, because one of
the
> > deps still provided by this ebuild does actually need one of the deps that
was
> > split. As in, it doesn't compile without it. That is not the case of piglit
> > though, right? 
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698