ryanmcgreevy / ModelMaker

ModelMaker plugin of VMD
2 stars 1 forks source link

Rosetta Binary "deduction" #8

Closed maxscheurer closed 7 years ago

maxscheurer commented 7 years ago

Currently, we only distinguish the platforms, but not the compiler used for the binaries. This is a problem, because I have compiled my Rosetta version with clang. So, as @ryanmcgreevy suggested, we should use a wildcard instead of the current version, shown below.

  switch $tcl_platform(os) {
    "Darwin" {
      variable rosettaEXE "macosclangrelease"
    }
    "Linux" {
      variable rosettaEXE "linuxgccrelease"
    }
    default {
      variable rosettaEXE "Unrecognized"
    }
  }
maxscheurer commented 7 years ago

I added a wildcard for the compiler.