Changeset 34608


Ignore:
Timestamp:
2020-12-16T20:43:06+13:00 (3 years ago)
Author:
anupama
Message:

Minimum change to get isisgdl to work for the final GS3 release without breaking linux 64 bit or windows or 32 bit linux by changing over to Dr Bainbridge's new isis-gdl source code: switched over to downloading IsisGdl.mac64mojave when the OS is mojave. Still untested on Catalina, but this is for building the rk3 release-kit with the correct IsisGdl binary anyway. And if it doesn't work on Catalina, it's no worse off as no IsisGdl binary worked on Catalina before and this change won't have broken it for other OS-es. Already uploaded IsisGdl.mac64mojave onto the old and new greenstone.org machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r34605 r34608  
    15961596      <echo>Bitness: ${uname.val}</echo>
    15971597      <if><bool><contains string="${os.bin.dir}" substring="darwin" casesensitive="false"/></bool>
     1598    <exec executable="uname" dir="${basedir}" failonerror="false"
     1599          outputproperty="darwin.kernel.version">
     1600      <arg value="-r"/>
     1601    </exec>
     1602   
     1603    <echo>darwin kernel version: ${darwin.kernel.version}</echo>
     1604    <!-- up to high sierra/kernel (version 17.x) us IsisGdl.macleopard
     1605         From Mojave onwards, we can use the Mojave generated IsisGdl.mac64mojave -->
     1606    <if>
     1607      <bool><matches string="${darwin.kernel.version}" pattern="^([0-9]|1[0-7])\."/></bool>
     1608      <property name="mac.isisgdl.suffix" value="macleopard"/>
     1609      <else>
     1610        <property name="mac.isisgdl.suffix" value="mac64mojave"/>
     1611      </else>     
     1612    </if>   
     1613
     1614
    15981615    <!--<get src="${gsorg.root}/caveat-emptor/IsisGdl.macleopard"
    15991616             dest="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>-->
     
    16021619      <arg value="${basedir}/gs2build/bin/${os.bin.dir}"/>
    16031620      <arg value="--no-check-certificate"/>
    1604       <arg value="${gsorg.root}/caveat-emptor/IsisGdl.macleopard"/>
     1621      <arg value="${gsorg.root}/caveat-emptor/IsisGdl.${mac.isisgdl.suffix}"/>
    16051622    </exec>
    1606     <move file="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl.macleopard"
     1623    <move file="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl.${mac.isisgdl.suffix}"
    16071624          tofile="${basedir}/gs2build/bin/${os.bin.dir}/IsisGdl"/>
    16081625      </if>
Note: See TracChangeset for help on using the changeset viewer.