-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix builds for macos 12.6 #18642
fix builds for macos 12.6 #18642
Changes from 7 commits
4530296
e413ee4
7f27f53
e94a846
cd4c277
bfc8a35
a0c453f
42134f4
b0f3090
fad368a
50b3863
d22e4aa
b0a7fd4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,7 +412,9 @@ def execute(self,base,key,tag,parent_res): | |
print("[removing existing temporary dmg file: {0}]".format(temp_dmg)) | ||
os.remove(temp_dmg) | ||
|
||
cmd = "hdiutil create -srcFolder %s -o %s" % (src_folder, temp_dmg) | ||
# ULMO format (xz) is 1/2 the size of default format (UDZO which is zlib level 1) | ||
#cmd = "hdiutil create -srcFolder %s -o %s" % (src_folder, temp_dmg) | ||
cmd = "hdiutil create -format ULMO -srcFolder %s -o %s" % (src_folder, temp_dmg) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change leads to 275Mb smaller |
||
|
||
########################################################################## | ||
# NOTE (cyrush) 2021-05-27 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{"bootstrap_visit": | ||
{"version": "3.3.3", | ||
"build_types": ["release"], | ||
"branch": "3.3RC", | ||
"arch": "darwin-x86_64", | ||
"cert": "Developer ID Application: Lawrence Livermore National Laboratory (A827VH86QR)", | ||
"entitlements": "/Users/miller86/visit/visit/33rc/src/tools/dev/masonry/opts/visit.entitlements", | ||
"notarize": {"username":"miller86@llnl.gov", | ||
"password":"@keychain:VisIt", | ||
"asc_provider":"A827VH86QR", | ||
"bundle_id":"gov.llnl.visit"}, | ||
"make_nthreads": 2, | ||
"skip_checkout": "yes", | ||
"git": {"mode":"ssh","git_uname":"markcmiller86"}, | ||
"build_visit": { "cmake_ver": "3.18.2", | ||
"args":"--no-thirdparty", | ||
"libs":["cmake", | ||
"vtkm", | ||
"ispc", | ||
"embree", | ||
"tbb", | ||
"ospray", | ||
"python", | ||
"vtk", | ||
"qt", | ||
"qwt", | ||
"boost", | ||
"mpich", | ||
"adios", | ||
"advio", | ||
"boxlib", | ||
"blosc", | ||
"cfitsio", | ||
"cgns", | ||
"conduit", | ||
"fms", | ||
"gdal", | ||
"glu", | ||
"h5part", | ||
"hdf5", | ||
"llvm", | ||
"mfem", | ||
"netcdf", | ||
"pidx", | ||
"silo", | ||
"silex", | ||
"szip", | ||
"icet", | ||
"mili", | ||
"zlib", | ||
"xdmf", | ||
"uintah", | ||
"moab"]} | ||
}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,23 @@ function bv_mpich_depends_on | |
|
||
function bv_mpich_info | ||
{ | ||
export MPICH_VERSION=${MPICH_VERSION:-"3.3.1"} | ||
export MPICH_FILE=${MPICH_FILE:-"mpich-${MPICH_VERSION}.tar.gz"} | ||
export MPICH_COMPATIBILITY_VERSION=${MPICH_COMPATIBILITY_VERSION:-"3.3"} | ||
export MPICH_BUILD_DIR=${MPICH_BUILD_DIR:-"mpich-${MPICH_VERSION}"} | ||
export MPICH_URL=${MPICH_URL:-http://www.mpich.org/static/tarballs/${MPICH_VERSION}} | ||
export MPICH_MD5_CHECKSUM="9ed4cabd3fb86525427454381b25f6af" | ||
export MPICH_SHA256_CHECKSUM="fe551ef29c8eea8978f679484441ed8bb1d943f6ad25b63c235d4b9243d551e5" | ||
if [[ "$OPSYS" == "Darwin" ]]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating mpich with newer libtool involves quite a bit. No easy way to just patch it. So, I created a new There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This commit is needed for macOS 12.6. So I cherry picked it to #19293
markcmiller86 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
export MPICH_VERSION=${MPICH_VERSION:-"3.3.1-libtool-2.4.6"} | ||
export MPICH_FILE=${MPICH_FILE:-"mpich-${MPICH_VERSION}.tar.gz"} | ||
export MPICH_COMPATIBILITY_VERSION=${MPICH_COMPATIBILITY_VERSION:-"3.3"} | ||
export MPICH_BUILD_DIR=${MPICH_BUILD_DIR:-"mpich-${MPICH_VERSION}"} | ||
export MPICH_URL=${MPICH_URL:-https://media.githubusercontent.com/media/visit-dav/third-party/master/lib/} | ||
export MPICH_MD5_CHECKSUM="e3a1e23be3efb8f4f041a7f8edf27455" | ||
export MPICH_SHA256_CHECKSUM="899908c78df8e5c4caf076d27e4c83cd0e8b05e8526d8bda9e3bff0de0349f1a" | ||
else | ||
export MPICH_VERSION=${MPICH_VERSION:-"3.3.1"} | ||
export MPICH_FILE=${MPICH_FILE:-"mpich-${MPICH_VERSION}.tar.gz"} | ||
export MPICH_COMPATIBILITY_VERSION=${MPICH_COMPATIBILITY_VERSION:-"3.3"} | ||
export MPICH_BUILD_DIR=${MPICH_BUILD_DIR:-"mpich-${MPICH_VERSION}"} | ||
export MPICH_URL=${MPICH_URL:-http://www.mpich.org/static/tarballs/${MPICH_VERSION}} | ||
export MPICH_MD5_CHECKSUM="9ed4cabd3fb86525427454381b25f6af" | ||
export MPICH_SHA256_CHECKSUM="fe551ef29c8eea8978f679484441ed8bb1d943f6ad25b63c235d4b9243d551e5" | ||
fi | ||
} | ||
|
||
function bv_mpich_print | ||
|
@@ -106,7 +116,7 @@ function build_mpich | |
# | ||
mpich_opts="--enable-shared" | ||
if [[ "$OPSYS" == "Darwin" ]]; then | ||
mpich_opts="${mpich_opts} --enable-two-level-namespace --enable-threads=single" | ||
mpich_opts="${mpich_opts} --enable-two-level-namespace --enable-threads=single --enable-libxml2=no" | ||
fi | ||
|
||
# | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change leads to 100Mb smaller tarball on mac. Would assume similar savings on other platforms. If we could control flags to xz, we could improve that a bit more. We could do that if we used Python tools to tar and compress...as we do in the top level
data
dir.