All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.antcontrib.cpptasks.intel.IntelLinux32Compiler Maven / Gradle / Ivy

Go to download

Third-party release of net.sf.antcontrib:cpptasks-parallel:1.0-beta-5-parallel-1-SNAPSHOT.

The newest version!
// FREEHEP
package net.sf.antcontrib.cpptasks.intel;
import net.sf.antcontrib.cpptasks.compiler.LinkType;
import net.sf.antcontrib.cpptasks.compiler.Linker;
import net.sf.antcontrib.cpptasks.compiler.Processor;
import net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler;

import org.apache.tools.ant.types.Environment;

public final class IntelLinux32Compiler extends GccCompatibleCCompiler {
    private static final IntelLinux32Compiler instance = new IntelLinux32Compiler(
            false, new IntelLinux32Compiler(true, null, false, null), false,
            null);
    public static IntelLinux32Compiler getInstance() {
        return instance;
    }
    private IntelLinux32Compiler(boolean isLibtool,
            IntelLinux32Compiler libtoolCompiler, boolean newEnvironment,
            Environment env) {
        super("icpc", "-V", isLibtool, libtoolCompiler, newEnvironment, env);
    }
    public Processor changeEnvironment(boolean newEnvironment, Environment env) {
        if (newEnvironment || env != null) {
            return new IntelLinux32Compiler(getLibtool(),
                    (IntelLinux32Compiler) getLibtoolCompiler(),
                    newEnvironment, env);
        }
        return this;
    }
    public Linker getLinker(LinkType type) {
        return IntelLinux32Linker.getInstance().getLinker(type);
    }
    public int getMaximumCommandLength() {
        return Integer.MAX_VALUE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy