~mg5core1/mg5amcnlo/2.8.3.py3

« back to all changes in this revision

Viewing changes to madgraph/iolibs/export_v4.py

  • Committer: olivier-mattelaer
  • Date: 2021-02-02 16:16:38 UTC
  • mfrom: (288.4.15 2.8.3.py2)
  • Revision ID: olivier-mattelaer-20210202161638-qwo2buby5bf5u56k
merge with 2.8.3.py2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1880
1880
            if not version:# not linux 
1881
1881
                version = 14 # set version to remove MACFLAG
1882
1882
            else:
1883
 
                version = int(version.split('.')[1])
1884
 
            if version >= 14:
 
1883
                majversion, version = [int(x) for x in version.split('.',3)[:2]]
 
1884
 
 
1885
            if majversion >= 11 or (majversion ==10 and version >= 14):
1885
1886
                for_update['MACFLAG'] = '-mmacosx-version-min=10.8' if is_lc else ''
1886
1887
 
1887
1888
        if not root_dir: