From 016e5adbeb31004ccff044f46c99ef5035f50e4f Mon Sep 17 00:00:00 2001 From: Kazunari Sekigawa Date: Wed, 3 Jan 2018 07:41:44 +0900 Subject: [PATCH 1/6] To test "build4mac.py" family with non-standard script language support like Anaconda. This refs #4. --- macbuild/build4mac.py | 4 ++-- macbuild/build4mac_env.py | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index 24aafd699..1bb775bea 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -376,9 +376,9 @@ def RunMainBuildBash(): # (C) want Qt bindings with Ruby scripts? if NoQtBindings: - parameters += "\\\n -without-qtbinding" + parameters += " \\\n -without-qtbinding" else: - parameters += "\\\n -with-qtbinding" + parameters += " \\\n -with-qtbinding" # (D) options to `make` tool if not MakeOptions == "": diff --git a/macbuild/build4mac_env.py b/macbuild/build4mac_env.py index 7dce1cdf3..525784145 100755 --- a/macbuild/build4mac_env.py +++ b/macbuild/build4mac_env.py @@ -123,18 +123,22 @@ PythonHighSierra= { 'exe': '/System/Library/Frameworks/Python.framework/Versions } # Using anaconda (https://www.anaconda.com/download/#macos): *+*+*+ EXPERIMENTAL *+*+*+ -# prepared by: $ conda create -n py27klayout python=2.7 +# If the path to your `conda` command is '$HOME/anaconda/bin/conda' +# and your Python environment was prepared by: $ conda create -n py27klayout python=2.7 +# # No additional modules are added in the beginning. Anaconda27 = { 'exe': '$HOME/anaconda/envs/py27klayout/bin/python2.7' , - 'inc': '$HOME/anaconda/envs/py27klayout/include', + 'inc': '$HOME/anaconda/envs/py27klayout/include/python2.7', 'lib': '$HOME/anaconda/envs/py27klayout/lib/libpython2.7.dylib' } # Using anaconda (https://www.anaconda.com/download/#macos): *+*+*+ EXPERIMENTAL *+*+*+ -# prepared by: $ conda create -n py36klayout python=3.6 +# If the path to your `conda` command is '$HOME/anaconda/bin/conda' +# and your Python environment was prepared by: $ conda create -n py36klayout python=3.6 +# # No additional modules are added in the beginning. Anaconda36 = { 'exe': '$HOME/anaconda/envs/py36klayout/bin/python3.6' , - 'inc': '$HOME/anaconda/envs/py36klayout/include', + 'inc': '$HOME/anaconda/envs/py36klayout/include/python3.6m', 'lib': '$HOME/anaconda/envs/py36klayout/lib/libpython3.6m.dylib' } From ef67790d2c19642737c8df80267a26b7f103b78f Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 2 Jan 2018 16:24:31 -0800 Subject: [PATCH 2/6] Implemented #54 (more typeinfo visibility) --- src/db/db/dbUserObject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/db/db/dbUserObject.h b/src/db/db/dbUserObject.h index 0aedfde0c..541ff9ed5 100644 --- a/src/db/db/dbUserObject.h +++ b/src/db/db/dbUserObject.h @@ -54,7 +54,7 @@ DB_PUBLIC unsigned int get_unique_user_object_class_id (); * in order to be able to be put into a user_object. */ template -class user_object_base +class DB_PUBLIC_TEMPLATE user_object_base { public: typedef C coord_type; @@ -399,7 +399,7 @@ typedef user_object DUserObject; * @brief The base object of a factory-instantiable object */ template -class user_object_factory_base +class DB_PUBLIC_TEMPLATE user_object_factory_base { public: user_object_factory_base () { } @@ -414,7 +414,7 @@ public: * This implements a factory for objects of class X with coordinate base type C. */ template -class user_object_factory_impl +class DB_PUBLIC_TEMPLATE user_object_factory_impl : public user_object_factory_base { public: From 91bf2a1eb0843448374105d1d5277f8cd53aa191 Mon Sep 17 00:00:00 2001 From: Kazunari Sekigawa Date: Wed, 3 Jan 2018 12:53:41 +0900 Subject: [PATCH 3/6] To test "build4mac.py" family with non-standard script language support like Anaconda. This refs #4. --- macbuild/build4mac.py | 40 +++++++++++++++++++++++-------------- macbuild/build4mac_env.py | 41 ++++++++++++++++++++++++++++++++------ macbuild/build4mac_util.py | 7 +++++-- 3 files changed, 65 insertions(+), 23 deletions(-) diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index 1bb775bea..f43ce7c15 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -61,9 +61,10 @@ def SetGlobals(): Usage += " : * key type names below are case insensitive * | \n" Usage += " : 'nil' = not to support the script language | \n" Usage += " : 'Sys' = using the OS standard script language | \n" + Usage += " : Refer to 'macbuild/build4mac_env.py' for details| \n" Usage += " [-q|--qt ] : type=['Qt4MacPorts', 'Qt5MacPorts'] | qt5macports \n" - Usage += " [-r|--ruby ] : type=['nil', 'Sys', 'RubySource'] | sys \n" - Usage += " [-p|--python ] : type=['nil', 'Sys', 'Anaconda27', 'Anaconda36'] | sys \n" + Usage += " [-r|--ruby ] : type=['nil', 'Sys', 'Src24', 'MP24'] | sys \n" + Usage += " [-p|--python ] : type=['nil', 'Sys', 'Ana27', 'Ana36', 'MP36'] | sys \n" Usage += " [-n|--noqtbinding] : don't create Qt bindings for ruby scripts | disabled \n" Usage += " [-m|--make