Skip to content

Commit

Permalink
8264623: Change to Xcode 12.4 for building on Macos at Oracle
Browse files Browse the repository at this point in the history
Reviewed-by: erikj
  • Loading branch information
vidmik committed Apr 12, 2021
1 parent 7c20d97 commit 27f4b27
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions make/conf/jib-profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -974,8 +974,11 @@ var getJibProfilesProfiles = function (input, common, data) {
// This gives us a guaranteed working version of lldb for the jtreg failure handler.
if (input.build_os == "macosx") {
macosxRunTestExtra = {
environment_path: input.get("devkit", "install_path")
+ "/Xcode.app/Contents/Developer/usr/bin"
dependencies: [ "lldb" ],
environment_path: [
input.get("gnumake", "install_path") + "/bin",
input.get("lldb", "install_path") + "/Xcode.app/Contents/Developer/usr/bin",
],
};
profiles["run-test"] = concatObjects(profiles["run-test"], macosxRunTestExtra);
profiles["run-test-prebuilt"] = concatObjects(profiles["run-test-prebuilt"], macosxRunTestExtra);
Expand Down Expand Up @@ -1030,7 +1033,7 @@ var getJibProfilesDependencies = function (input, common) {

var devkit_platform_revisions = {
linux_x64: "gcc10.2.0-OL6.4+1.0",
macosx_x64: "Xcode11.3.1-MacOSX10.15+1.1",
macosx: "Xcode12.4+1.0",
windows_x64: "VS2019-16.7.2+1.1",
linux_aarch64: "gcc10.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
Expand All @@ -1043,6 +1046,8 @@ var getJibProfilesDependencies = function (input, common) {
: input.target_platform);
if (input.target_platform == "windows_aarch64") {
devkit_platform = "windows_x64";
} else if (input.target_os == "macosx") {
devkit_platform = "macosx";
}
var devkit_cross_prefix = "";
if (!(input.target_os == "windows")) {
Expand Down Expand Up @@ -1095,6 +1100,13 @@ var getJibProfilesDependencies = function (input, common) {
revision: devkit_platform_revisions[input.build_platform]
},

lldb: {
organization: common.organization,
ext: "tar.gz",
module: "devkit-macosx_x64",
revision: "Xcode11.3.1-MacOSX10.15+1.1",
},

cups: {
organization: common.organization,
ext: "tar.gz",
Expand Down

1 comment on commit 27f4b27

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.