New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 891551 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Last visit > 30 days ago
Closed: Oct 3
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Create third-party/virglrenderer

Project Member Reported by gurcheta...@chromium.org, Oct 3

Issue description

Most hosts lack some features we would like to see investigated in virglrenderer.  It would be nice to have a ~/trunk/src/third_party/virglrender so we can compile ToT with our own toolchains on our own devices.  
 
Cc: bhthompson@google.com
Cc: davidri...@chromium.org
Labels: OS-Chrome
This appears to already exist https://chromium-review.googlesource.com/admin/repos/chromiumos/third_party/virglrenderer,branches

It was requested in https://bugs.chromium.org/p/chromium/issues/detail?id=852942 

I guess this just needs to be added to the manifest? If we want this in the regular checkouts it needs to be in both the internal and public manifests.
Mergedinto: 852942
Status: Duplicate (was: Untriaged)
We decided back then to not have a source tree but instead just rely on pulling forward the hash and having patches if we need them.
Fair enough, I guess for testing complex changes one can just squash and do an epatch.
You can also do something like:
ebuild-$BOARD ~/trunk/src/third_party/portage-stable/media-libs/virglrenderer/virglrenderer-9999.ebuild unpack
cd /build/$BOARD/tmp/portage/media-libs/virglrenderer-9999/work/virglrenderer-9999
git init
git add .
git commit -m 'initial checkin'
git remote add origin git://git.freedesktop.org/git/virglrenderer
git remote update
git checkout -B master origin/master
ebuild-$BOARD ~/trunk/src/third_party/portage-stable/media-libs/virglrenderer/virglrenderer-9999.ebuild configure
git commit -am 'configured'
git branch master-configured

# repeat the following steps as much as needed
rm -f ../../.compiled; ebuild-$BOARD ~/trunk/src/third_party/portage-stable/media-libs/virglrenderer/virglrenderer-9999.ebuild compile
scp src/.libs/libvirglrenderer.so.0 root@$DUT:/usr/lib64

Be careful because once you do an ebuild-$BOARD XYZ install or merge, it will nuke the working directory unless you run those commands with FEATURES=noclean.  All the git stuff I listed above is optional, but lets you get diffs of your changes or apply them relatively easily.

Sign in to add a comment