| Makefile (acba419910e48bd413069f4d1cfeff81ff6aa328) | Makefile (d4f9124cb1a45ca88b676a102fa1807cec70f276) |
|---|---|
| 1# Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors. 2# All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3# 4# SPDX-License-Identifier: BSD-2-Clause 5# 6# This file is part of CEED: http://github.com/ceed 7 8# ------------------------------------------------------------ --- 120 unchanged lines hidden (view full) --- 129SYCL_FLAG.clang := -fsycl 130SYCL_FLAG.icc := 131SYCL_FLAG.oneAPI := -fsycl -fno-sycl-id-queries-fit-in-int 132OPT.gcc := -g -ffp-contract=fast 133OPT.clang := $(OPT.gcc) 134OPT.icc := $(OPT.gcc) 135OPT.oneAPI := $(OPT.clang) 136OPT.emcc := | 1# Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors. 2# All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3# 4# SPDX-License-Identifier: BSD-2-Clause 5# 6# This file is part of CEED: http://github.com/ceed 7 8# ------------------------------------------------------------ --- 120 unchanged lines hidden (view full) --- 129SYCL_FLAG.clang := -fsycl 130SYCL_FLAG.icc := 131SYCL_FLAG.oneAPI := -fsycl -fno-sycl-id-queries-fit-in-int 132OPT.gcc := -g -ffp-contract=fast 133OPT.clang := $(OPT.gcc) 134OPT.icc := $(OPT.gcc) 135OPT.oneAPI := $(OPT.clang) 136OPT.emcc := |
| 137CFLAGS.gcc := $(if $(STATIC),,-fPIC) -std=c99 -Wall -Wextra -Wno-unused-parameter -MMD -MP | 137CFLAGS.gcc := $(if $(STATIC),,-fPIC) -std=c11 -Wall -Wextra -Wno-unused-parameter -MMD -MP |
| 138CFLAGS.clang := $(CFLAGS.gcc) 139CFLAGS.icc := $(CFLAGS.gcc) 140CFLAGS.oneAPI := $(CFLAGS.clang) 141CFLAGS.XL := $(if $(STATIC),,-qpic) -MMD 142CFLAGS.emcc := $(CFLAGS.clang) 143CXXFLAGS.gcc := $(if $(STATIC),,-fPIC) -std=c++11 -Wall -Wextra -Wno-unused-parameter -MMD -MP 144CXXFLAGS.clang := $(CXXFLAGS.gcc) 145CXXFLAGS.icc := $(CXXFLAGS.gcc) --- 807 unchanged lines hidden (view full) --- 953 954vermin : 955 $(VERMIN) $(VERMIN_OPTS) $(format.py) 956 957# Tidy 958CLANG_TIDY ?= clang-tidy 959 960%.c.tidy : %.c | 138CFLAGS.clang := $(CFLAGS.gcc) 139CFLAGS.icc := $(CFLAGS.gcc) 140CFLAGS.oneAPI := $(CFLAGS.clang) 141CFLAGS.XL := $(if $(STATIC),,-qpic) -MMD 142CFLAGS.emcc := $(CFLAGS.clang) 143CXXFLAGS.gcc := $(if $(STATIC),,-fPIC) -std=c++11 -Wall -Wextra -Wno-unused-parameter -MMD -MP 144CXXFLAGS.clang := $(CXXFLAGS.gcc) 145CXXFLAGS.icc := $(CXXFLAGS.gcc) --- 807 unchanged lines hidden (view full) --- 953 954vermin : 955 $(VERMIN) $(VERMIN_OPTS) $(format.py) 956 957# Tidy 958CLANG_TIDY ?= clang-tidy 959 960%.c.tidy : %.c |
| 961 $(CLANG_TIDY) $(TIDY_OPTS) $^ -- $(CPPFLAGS) --std=c99 -I$(CUDA_DIR)/include -I$(ROCM_DIR)/include -DCEED_JIT_SOURCE_ROOT_DEFAULT="\"$(abspath ./include)/\"" -DCEED_GIT_VERSION="\"$(GIT_DESCRIBE)\"" -DCEED_BUILD_CONFIGURATION="\"// Build Configuration:$(foreach v,$(CONFIG_VARS),\n$(v) = $($(v)))\"" | 961 $(CLANG_TIDY) $(TIDY_OPTS) $^ -- $(CPPFLAGS) --std=c11 -I$(CUDA_DIR)/include -I$(ROCM_DIR)/include -DCEED_JIT_SOURCE_ROOT_DEFAULT="\"$(abspath ./include)/\"" -DCEED_GIT_VERSION="\"$(GIT_DESCRIBE)\"" -DCEED_BUILD_CONFIGURATION="\"// Build Configuration:$(foreach v,$(CONFIG_VARS),\n$(v) = $($(v)))\"" |
| 962 963%.cpp.tidy : %.cpp 964 $(CLANG_TIDY) $(TIDY_OPTS) $^ -- $(CPPFLAGS) --std=c++11 -I$(CUDA_DIR)/include -I$(OCCA_DIR)/include -I$(ROCM_DIR)/include 965 966tidy-c : $(libceed.c:%=%.tidy) 967tidy-cpp : $(libceed.cpp:%=%.tidy) 968 969tidy : tidy-c tidy-cpp --- 85 unchanged lines hidden --- | 962 963%.cpp.tidy : %.cpp 964 $(CLANG_TIDY) $(TIDY_OPTS) $^ -- $(CPPFLAGS) --std=c++11 -I$(CUDA_DIR)/include -I$(OCCA_DIR)/include -I$(ROCM_DIR)/include 965 966tidy-c : $(libceed.c:%=%.tidy) 967tidy-cpp : $(libceed.cpp:%=%.tidy) 968 969tidy : tidy-c tidy-cpp --- 85 unchanged lines hidden --- |