From 3f3562149130501de3faafd1bda6b48832c2ffbf Mon Sep 17 00:00:00 2001
From: Joe Garcia <joe.garcia@ssec.wisc.edu>
Date: Mon, 15 Mar 2021 11:38:07 -0500
Subject: [PATCH] pyopencl fixes

---
 ShellB3/shallbethree.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh
index ef11b674..abff1999 100755
--- a/ShellB3/shallbethree.sh
+++ b/ShellB3/shallbethree.sh
@@ -9387,7 +9387,6 @@ mk_pyopencl() {
   mk_pytest || oops 'pytest did not install'
   resume_tracker
   pip_install src/experimental/pytools-*z || oops 'pytools did not install'
-  pip_install src/optional/pybind11-*z || oops 'pybind11 did not install'
 
   EXTRAPYOPENCLPARMS=""
 
@@ -9423,16 +9422,15 @@ mk_pyopencl() {
                  "/Applications/Xcode.app/Contents/Developer/Platforms/"
                  "MacOSX.platform/Developer/SDKs/MacOSX%s.sdk" % osx_ver,
                  "/Developer/SDKs/MacOSX%s.sdk" % osx_ver
-@@ -55,8 +63,7 @@
+@@ -55,7 +63,7 @@
  
          default_libs = []
          default_cxxflags = default_cxxflags + [
--                "-stdlib=libc++", "-mmacosx-version-min=10.7",
--                "-arch', 'i386", "-arch", "x86_64"
-+                "-stdlib=libc++", "-mmacosx-version-min={}".format(osx_ver)
-                 ]
+-                "-stdlib=libc++", "-mmacosx-version-min=10.7"]
++                "-stdlib=libc++", "-mmacosx-version-min={}".format(osx_ver)]
  
          from os.path import isdir
+         for srp in sysroot_paths:
 SOSAYWEALL
 
   make_script pyopencl <<SOSAYWEALL
-- 
GitLab