Open main menu

CDOT Wiki β

Changes

SPO600 Codebase Analysis Lab

496 bytes added, 14:41, 11 January 2016
no edit summary
[[Category:SPO600 Labs- Retired]]
{{Admon/lab|Purpose of this Lab|In this lab, you will examine the codebase of an open source project to find platform-specific code and determine its purpose.}}
{{Admon/important|This lab is not used in the current semester.|Please refer to the other labs in the [[:Category:SPO600 Labs|SPO600 Labs]] category.}}
== Lab 4 ==
1. Find your group in the [[#Package Lists by Group|list below]]. Select the same number of packages as you have people in your group (e.g., if there are two in your group, then pick two of the three packages). Add a package from the Spares list if necessary. If you are doing this lab and are not in class, chose two packages from the Spares list.
2. Obtain the source code for this software. You can find the upstream website and download it from there (or the corresponding code repository), or on a Fedora system(either your own or [[SPO600 aarch64 QEMU on Ireland|ireland]]), you can follow these steps (recommended):
fedpkg clone -a ''packagename''
* The location of all assembly language code. Check for <code>asm()</code>, <code>__asm__</code>, and stand-alone files (<code>.s</code> or <code>.S</code> files).
* The purpose of each assembly language fragment.
* Whether the asm code was written specifically for that software package, orcode from a library or other open source package containing assembler was imported into that package (i.e., an included or forked library).* The architectures supportedby the assembly code (it is common to use cpp directives to conditionally include one of several different assembly fragments).
* Fallbacks, if any, provided for other architectures, and the impact of using the fallback (lower performance, missing features, incorrect operation).
* Your estimate of whether the package can be built on aarch64 in its current form, and how that build would compare to the x86_64 build in terms of features and performance. (Note: It may be useful to look at the %build section of the spec file, located in the directory in which you performed the ''fedpkg prep'').
** gmp
** mesa
** Pixie