From b0aade801abec486ecb3beaabb5f978a5e2ed957 Mon Sep 17 00:00:00 2001 From: Toon Knapen Date: Wed, 15 Dec 2004 08:47:35 +0000 Subject: [PATCH] intel fortran compiler [SVN r26510] --- v2/tools/ifort.jam | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 v2/tools/ifort.jam diff --git a/v2/tools/ifort.jam b/v2/tools/ifort.jam new file mode 100644 index 000000000..fb7800fdb --- /dev/null +++ b/v2/tools/ifort.jam @@ -0,0 +1,35 @@ +# Copyright (C) 2004 Toon Knapen +# +# Use, modification and distribution is subject to the Boost Software +# License Version 1.0. (See accompanying file LICENSE_1_0.txt or +# http://www.boost.org/LICENSE_1_0.txt) + +import toolset : flags ; +import feature ; +import fortran ; + +rule init ( version ? : command * : options * ) +{ +} + +# Declare flags and action for compilation +flags ifort OPTIONS off : /Od ; +flags ifort OPTIONS speed : /O3 ; +flags ifort OPTIONS space : /O1 ; + +flags ifort OPTIONS on : /debug:full ; +flags ifort OPTIONS on : /Qprof_gen ; + +flags ifort DEFINES ; +flags ifort INCLUDES ; + +rule compile-fortran +{ +} + +actions compile-fortran +{ + ifort $(OPTIONS) /D$(DEFINES) /I$(INCLUDES) /c /object:"$(<)" "$(>)" +} + +generators.register-fortran-compiler ifort.compile-fortran : FORTRAN : OBJ ;