Skip to content

Commit

Permalink
linux-icc-k1om build
Browse files Browse the repository at this point in the history
Change-Id: I6262b14640118482621c95c3988c068cf72271d8
Reviewed-by: Robert Pancoast <[email protected]>
Reviewed-by: Konstantin Tokarev <[email protected]>
  • Loading branch information
Robert Mancoast authored and annulen committed Feb 21, 2017
1 parent d345429 commit b5a7746
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 0 deletions.
21 changes: 21 additions & 0 deletions mkspecs/linux-icc-k1om/qmake.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# qmake configuration for linux-icc-k1om
#
# Written for Intel C++ Compiler
#
# This mkspec is intended for use on x100 Co-processors
#

# Use the linux-icc as the base for our configuration
include(../linux-icc/qmake.conf)

QMAKE_CC = icc -mmic
QMAKE_CFLAGS_WARN_ON += -wd10364,1786

QMAKE_CXX = icpc -mmic
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON

QMAKE_LFLAGS += -mmic
QMAKE_LFLAGS_APP =
QMAKE_AR = xiar crs

40 changes: 40 additions & 0 deletions mkspecs/linux-icc-k1om/qplatformdefs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the qmake spec of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or (at your option) the GNU General
** Public license version 3 or any later version approved by the KDE Free
** Qt Foundation. The licenses are as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
** https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

#include "../linux-icc/qplatformdefs.h"
15 changes: 15 additions & 0 deletions mkspecs/win32-icc-k1om/qmake.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# qmake configuration for win32-icc-k1om
#
# Written for Intel C++
#
# Use the win32-icc as the base for our configuration
include(../win32-icc/qmake.conf)

# rework k1om

QMAKE_CC = icl /Qmic
QMAKE_CXX = icl /Qmic
QMAKE_LINK = xild
QMAKE_LINK_SHLIB = xild
QMAKE_LFLAGS = -limf -lsvml -lirng -lintlc
40 changes: 40 additions & 0 deletions mkspecs/win32-icc-k1om/qplatformdefs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the qmake spec of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or (at your option) the GNU General
** Public license version 3 or any later version approved by the KDE Free
** Qt Foundation. The licenses are as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
** https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

#include "../win32-msvc/qplatformdefs.h"

0 comments on commit b5a7746

Please sign in to comment.