Skip to content

Commit

Permalink
Add new hostconfig file on Lassen with Clang 14 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpatki authored Jul 3, 2024
1 parent 7cc3577 commit 82cf516
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/c/host-configs/[email protected]@8.3.1.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
##############################################################
# Copyright 2021 Lawrence Livermore National Security, LLC
# (c.f. AUTHORS, NOTICE.LLNS, COPYING)
#
# This file is part of the Flux resource manager framework.
# For details, see https://github.com/flux-framework.
#
# SPDX-License-Identifier: LGPL-3.0
##############################################################

set(CMAKE_C_COMPILER "/usr/tce/packages/clang/clang-14.0.5-gcc-8.3.1/bin/clang" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/tce/packages/clang/clang-14.0.5-gcc-8.3.1/bin/clang++" CACHE PATH "")
set(LLVM_DIR "/usr/tce/packages/clang/clang-ibm-14.0.5-gcc-8.3.1/lib/cmake/llvm" CACHE PATH "")
# Use both C and CXX flags to support both targets.
set(CMAKE_C_FLAGS "-flegacy-pass-manager" CACHE STRING "")
set(CMAKE_CXX_FLAGS "-flegacy-pass-manager" CACHE STRING "")

0 comments on commit 82cf516

Please sign in to comment.