def __configure(self):
        """Setup build options based on user parameters"""

        e = {}

        e['PREFIX'] = self.__prefix

        if self.__make_variables:
          e.update(self.__make_variables)

        l = []
        if e:
            for key, val in sorted(e.items()):
                l.append('{0}={1}'.format(key, val))

        self.__build_environment = ' '.join(l)
Setup build options based on user parameters
hpccm/building_blocks/nccl.py