@@ -419,8 +419,10 @@ var getJibProfilesProfiles = function (input, common, data) {
419
419
"linux-x64" : {
420
420
target_os : "linux" ,
421
421
target_cpu : "x64" ,
422
- dependencies : [ "devkit" , "gtest" , "graphviz" , "pandoc" ] ,
423
- configure_args : concat ( common . configure_args_64bit ,
422
+ dependencies : [ "devkit" , "gtest" , "build_devkit" , "graphviz" , "pandoc" ] ,
423
+ configure_args : concat (
424
+ ( input . build_cpu == "x64" ? common . configure_args_64bit
425
+ : "--openjdk-target=x86_64-linux-gnu" ) ,
424
426
"--with-zlib=system" , "--disable-dtrace" ,
425
427
( isWsl ( input ) ? [ "--host=x86_64-unknown-linux-gnu" ,
426
428
"--build=x86_64-unknown-linux-gnu" ] : [ ] ) ) ,
@@ -1044,10 +1046,10 @@ var getJibProfilesProfiles = function (input, common, data) {
1044
1046
var getJibProfilesDependencies = function ( input , common ) {
1045
1047
1046
1048
var devkit_platform_revisions = {
1047
- linux_x64 : "gcc10.2 .0-OL6.4+1.0" ,
1049
+ linux_x64 : "gcc10.3 .0-OL6.4+1.0" ,
1048
1050
macosx : "Xcode12.4+1.0" ,
1049
1051
windows_x64 : "VS2019-16.9.3+1.0" ,
1050
- linux_aarch64 : "gcc10.2 .0-OL7.6+1.0" ,
1052
+ linux_aarch64 : "gcc10.3 .0-OL7.6+1.0" ,
1051
1053
linux_arm : "gcc8.2.0-Fedora27+1.0" ,
1052
1054
linux_ppc64le : "gcc8.2.0-Fedora27+1.0" ,
1053
1055
linux_s390x : "gcc8.2.0-Fedora27+1.0"
@@ -1122,7 +1124,10 @@ var getJibProfilesDependencies = function (input, common) {
1122
1124
organization : common . organization ,
1123
1125
ext : "tar.gz" ,
1124
1126
module : "devkit-" + input . build_platform ,
1125
- revision : devkit_platform_revisions [ input . build_platform ]
1127
+ revision : devkit_platform_revisions [ input . build_platform ] ,
1128
+ // Only set --with-build-devkit when cross compiling.
1129
+ configure_args : ( input . build_cpu == input . target_cpu ? false
1130
+ : "--with-build-devkit=" + input . get ( "build_devkit" , "home_path" ) )
1126
1131
} ,
1127
1132
1128
1133
lldb : {
0 commit comments