Changeset d2cb534 for general/prog
- Timestamp:
- 08/26/2018 02:41:04 AM (6 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 0080c54
- Parents:
- 07499ecc
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/java.xml
r07499ecc rd2cb534 7 7 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;"> 8 8 <!ENTITY openjdk-download-binary-x86 "&anduin-download;/OpenJDK-&openjdk-version;+&openjdk-build;-i686-bin.tar.xz"> 9 <!ENTITY openjdk-bin-md5sum-x86 " 6b594556446845512eadf521a13ff2e2">10 <!ENTITY openjdk-bin-size-x86 " 155MB">11 <!ENTITY openjdk-bin-buildsize-x86 " 299MB">9 <!ENTITY openjdk-bin-md5sum-x86 "d66af9a4303ce9d0c93c92945048e361"> 10 <!ENTITY openjdk-bin-size-x86 "224 MB"> 11 <!ENTITY openjdk-bin-buildsize-x86 "623 MB"> 12 12 13 13 14 14 <!ENTITY openjdk-download-binary-x64 "&anduin-download;/OpenJDK-&openjdk-version;+&openjdk-build;-x86_64-bin.tar.xz"> 15 <!ENTITY openjdk-bin-md5sum-x64 " e1357036efe946c23d6ca06d85313634">16 <!ENTITY openjdk-bin-size-x64 " 168MB">17 <!ENTITY openjdk-bin-buildsize-x64 " 328MB">15 <!ENTITY openjdk-bin-md5sum-x64 "a550f9e2aa1e8437346bb52a7b36052e"> 16 <!ENTITY openjdk-bin-size-x64 "252 MB"> 17 <!ENTITY openjdk-bin-buildsize-x64 "771 MB"> 18 18 ]> 19 19 … … 83 83 version.</para> 84 84 85 &lfs8 2_checked;85 &lfs83_checked; 86 86 87 87 <bridgehead renderas="sect3">Binary Package Information</bridgehead> -
general/prog/openjdk.xml
r07499ecc rd2cb534 11 11 <!ENTITY anduin-download "&sources-anduin-http;/OpenJDK/OpenJDK-&openjdk-version;"> 12 12 13 <!ENTITY ojdk-md5sum " 9cc63586cf761644d95b044954a4920f">13 <!ENTITY ojdk-md5sum "d216524203251f1378e660e6fda0b2ec"> 14 14 <!ENTITY ojdk-size "84 MB"> 15 <!-- There is only one source now 16 <!ENTITY corba-md5sum "dbc62e27a93686a9aea12e9c97c2f765"> 17 <!ENTITY hotspot-md5sum "25853ba33123397b2e755249f102ae73"> 18 <!ENTITY jaxp-md5sum "f5ab5e468565e1ab3a181d2efb45b51f"> 19 <!ENTITY jaxws-md5sum "520ff49cb470fbcec2f46cbb3fdb377d"> 20 <!ENTITY jdk-md5sum "be9f261b19451ab1300c5842188e3fe2"> 21 <!ENTITY langtools-md5sum "22b65322d04c8ffafd77230dbe5f178f"> 22 <!ENTITY nashorn-md5sum "729d03b0cede2f697ad77170a9d89095"> 23 <!ENTITY total-download-size "83 MB"> 24 --> 25 <!ENTITY jtreg-version "4.2-b12-366"> 15 16 <!ENTITY jtreg-version "4.2-b13-433"> 26 17 <!ENTITY jtreg-download "&anduin-download;/jtreg-&jtreg-version;.tar.gz"> 27 <!ENTITY jtreg-md5sum " 106c049e00ab9e6e48150b370ecf1a88">18 <!ENTITY jtreg-md5sum "a2f25470e005cb7135f61f3bd9c4962e"> 28 19 <!ENTITY jtreg-size "6.8 MB"> 29 20 30 <!ENTITY ojdk-bdsize "5.4 GB (additional 758MB for tests)">31 <!ENTITY ojdk-time "5.7 SBU with 4 jobs (additonal 22SBU for tests with 4 jobs)">21 <!ENTITY ojdk-bdsize "5.8 GB (an additional 346 MB for tests)"> 22 <!ENTITY ojdk-time "3.9 SBU with 4 jobs (an additonal 4.7 SBU for tests with 4 jobs)"> 32 23 ]> 33 24 … … 57 48 </para> 58 49 59 &lfs8 2_checked;50 &lfs83_checked; 60 51 61 52 <note> … … 137 128 </para> 138 129 </listitem> 139 <!--140 <listitem>141 <para>142 In addition to the root package, the instructions below first143 download seven subproject tarballs, whose total size is144 &total-download-size;.145 </para>146 </listitem>147 -->148 130 <listitem> 149 131 <para>Estimated disk space required: &ojdk-bdsize;</para> … … 218 200 <title>Installation of OpenJDK</title> 219 201 220 <!--221 <para>222 Unlike other packages in BLFS, the <application>OpenJDK</application>223 source packages are distributed in multiple tarballs. You need to first224 extract the source root from <filename>&ojdk-tarball;</filename>, change225 into the extracted directory, then proceed with the following226 instructions:227 </para>228 229 <screen><userinput>cat > subprojects.md5 << EOF &&230 &corba-md5sum; corba.tar.bz2231 &hotspot-md5sum; hotspot.tar.bz2232 &jaxp-md5sum; jaxp.tar.bz2233 &jaxws-md5sum; jaxws.tar.bz2234 &jdk-md5sum; jdk.tar.bz2235 &langtools-md5sum; langtools.tar.bz2236 &nashorn-md5sum; nashorn.tar.bz2237 EOF238 239 for subproject in corba hotspot jaxp jaxws jdk langtools nashorn; do240 241 wget -c &ojdk-repo;/${subproject}/archive/&ojdk-tarball; \242 -O ${subproject}.tar.bz2243 done &&244 245 md5sum -c subprojects.md5 &&246 247 for subproject in corba hotspot jaxp jaxws jdk langtools nashorn; do248 mkdir -pv ${subproject} &&249 tar -xf ${subproject}.tar.bz2 -\-strip-components=1 -C ${subproject}250 done</userinput></screen>251 -->252 202 <para> 253 203 If you have downloaded the optional test harness, unpack it now: … … 294 244 make images</userinput></screen> 295 245 296 <note> 297 <para> 298 By default, the build system will use (NUMCPU - 1) jobs. To 299 override, set <envar>JOBS=<X></envar> on make invocation. 300 </para> 301 </note> 302 303 <para> 304 To test the results, issue: <command>make run-test-tier1</command>. 305 You can limit the number of concurrent tests by setting 306 <envar>JTREG="JOBS=<X>"</envar> where <X> is the number of 307 jobs. There is one failure. 308 </para> 246 <para> 247 To test the results, you will need to execute the jtreg program. 248 You can set the number of concurrent tests by adding the 249 <parameter>-conc:<replaceable><X></replaceable></parameter> 250 value in the below command (tests will run sequentially otherwise): 251 </para> 252 253 <screen><userinput>export JT_JAVA=$(echo $PWD/build/*/jdk) && 254 jtreg/bin/jtreg -jdk:$JT_JAVA -automatic -ignore:quiet -v1 \ 255 test/jdk:tier1 test/langtools:tier1</userinput></screen> 256 257 <para>For more control over the test suite, review the documentation 258 available in <filename>jtreg/doc/jtreg/usage.txt</filename>. To review the 259 results, see the files 260 <filename>JTreport/test_{jdk,langtools}/text/stats.txt</filename> and 261 <filename>JTreport/test_{jdk,langtools}/text/summary.txt</filename>. 262 You should expect to see 21 failures and 2 errors in the jdk 263 test suite, and 7 failures in langtools.</para> 309 264 310 265 <para>Install the package with the following commands as the … … 314 269 cp -Rv build/*/images/jdk/* /opt/jdk-&openjdk-version;+&openjdk-build; && 315 270 chown -R root:root /opt/jdk-&openjdk-version;+&openjdk-build; && 316 find /opt/jdk-&openjdk-version;+&openjdk-build; -name \*.diz -delete &&317 271 for s in 16 24 32 48; do 318 install - Dm 644 jdk/src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \272 install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \ 319 273 /usr/share/icons/hicolor/${s}x${s}/apps/java.png 320 done 274 done && 275 unset JT_JAVA 321 276 </userinput></screen> 322 277 … … 360 315 NoDisplay=true</literal> 361 316 EOF 362 <!-- No policytool in java 10...363 cat > /usr/share/applications/openjdk-policytool.desktop << "EOF" &&364 <literal>[Desktop Entry]365 Name=OpenJDK Java &openjdk-version; Policy Tool366 Name[pt_BR]=OpenJDK Java &openjdk-version; - Ferramenta de Política367 Comment=OpenJDK Java &openjdk-version; Policy Tool368 Comment[pt_BR]=OpenJDK Java &openjdk-version; - Ferramenta de Política369 Exec=/opt/jdk/bin/policytool370 Terminal=false371 Type=Application372 Icon=java373 Categories=Settings;</literal>374 EOF375 -->376 317 cat > /usr/share/applications/openjdk-jconsole.desktop << "EOF" 377 318 <literal>[Desktop Entry] … … 385 326 Categories=Application;System;</literal> 386 327 EOF</userinput></screen> 387 <!-- Name[pt_BR] not do=isplayed anymore 388 <para> 389 The choice of pt_BR is just an example. You can add any translation 390 by adding lines corresponding to your locale, e.g. for fr_FR, 391 <quote>Name[fr_FR]=</quote> and <quote>Comment[fr_FR]=</quote> with the 392 appropriate text as values. 393 </para> 394 --> 328 395 329 </sect2> 396 330 … … 422 356 build system to link to <filename>libstdc++.so</filename> (dynamic) 423 357 instead of <filename>libstdc++.a</filename> (static). 358 </para> 359 360 <para> 361 <parameter>--with-jobs=<replaceable><X></replaceable></parameter>: 362 The <parameter>-j</parameter> passed to make does not work with make as 363 invoked here. By default, the build system will use the number of 364 CPUs - 1. 424 365 </para> 425 366
Note:
See TracChangeset
for help on using the changeset viewer.