File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -114,27 +114,16 @@ sub_swig(){
114114
115115 if [ " ${OPERATIVE_SYSTEM} " = " Linux" ]; then
116116 if [ " ${LINUX_DISTRO} " = " debian" ] || [ " ${LINUX_DISTRO} " = " ubuntu" ]; then
117- $SUDO_CMD apt-get $APT_CACHE_CMD install -y --no-install-recommends g++ libpcre3-dev tar
117+ $SUDO_CMD apt-get $APT_CACHE_CMD install -y --no-install-recommends swig
118118
119119 # Install Python Port Dependencies (TODO: This must be transformed into pip3 install metacall)
120120 $SUDO_CMD apt-get $APT_CACHE_CMD install -y --no-install-recommends python3-setuptools
121121 elif [ " ${LINUX_DISTRO} " = " alpine" ]; then
122- $SUDO_CMD apk add --no-cache g++ pcre-dev tar
122+ $SUDO_CMD apk add --no-cache swig
123123
124124 # Install Python Port Dependencies (TODO: This must be transformed into pip3 install metacall)
125125 $SUDO_CMD apk add --no-cache py3-setuptools
126126 fi
127-
128- wget http://prdownloads.sourceforge.net/swig/swig-4.0.1.tar.gz
129-
130- tar -xzf swig-4.0.1.tar.gz
131- cd swig-4.0.1
132- ./configure --prefix=/usr/local
133- make -j$( getconf _NPROCESSORS_ONLN)
134- $SUDO_CMD make install
135- cd ..
136- rm -rf swig-4.0.1
137-
138127 elif [ " ${OPERATIVE_SYSTEM} " = " Darwin" ]; then
139128 brew install swig
140129 fi
You can’t perform that action at this time.
0 commit comments