Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: Makefile.config.in

Issue 299753004: Add support for building subzero with LLVM (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: remove commented-out check Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===# 1 #===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===#
2 # 2 #
3 # The LLVM Compiler Infrastructure 3 # The LLVM Compiler Infrastructure
4 # 4 #
5 # This file is distributed under the University of Illinois Open Source 5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details. 6 # License. See LICENSE.TXT for details.
7 # 7 #
8 #===------------------------------------------------------------------------===# 8 #===------------------------------------------------------------------------===#
9 # 9 #
10 # This file is included by Makefile.common. It defines paths and other 10 # This file is included by Makefile.common. It defines paths and other
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@) 52 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@)
53 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@) 53 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@)
54 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT) 54 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT)
55 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR )) 55 PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR ))
56 56
57 ifneq ($(CLANG_SRC_ROOT),) 57 ifneq ($(CLANG_SRC_ROOT),)
58 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT)) 58 CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT))
59 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$ (PROJ_SRC_DIR)) 59 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$ (PROJ_SRC_DIR))
60 endif 60 endif
61 61
62 ifneq ($(SUBZERO_SRC_ROOT),)
63 PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/subzero%,$(SUBZERO_SRC_ROOT )%,$(PROJ_SRC_DIR))
64 endif
65
62 prefix := @prefix@ 66 prefix := @prefix@
63 PROJ_prefix := $(prefix) 67 PROJ_prefix := $(prefix)
64 program_prefix := @program_prefix@ 68 program_prefix := @program_prefix@
65 PROJ_VERSION := $(LLVMVersion) 69 PROJ_VERSION := $(LLVMVersion)
66 else 70 else
67 ifndef PROJ_SRC_ROOT 71 ifndef PROJ_SRC_ROOT
68 $(error Projects must define PROJ_SRC_ROOT) 72 $(error Projects must define PROJ_SRC_ROOT)
69 endif 73 endif
70 ifndef PROJ_OBJ_ROOT 74 ifndef PROJ_OBJ_ROOT
71 $(error Projects must define PROJ_OBJ_ROOT) 75 $(error Projects must define PROJ_OBJ_ROOT)
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 403
400 # Flags to control building support for OProfile JIT API 404 # Flags to control building support for OProfile JIT API
401 USE_OPROFILE := @USE_OPROFILE@ 405 USE_OPROFILE := @USE_OPROFILE@
402 406
403 ifeq ($(USE_INTEL_JITEVENTS), 1) 407 ifeq ($(USE_INTEL_JITEVENTS), 1)
404 OPTIONAL_COMPONENTS += IntelJITEvents 408 OPTIONAL_COMPONENTS += IntelJITEvents
405 endif 409 endif
406 ifeq ($(USE_OPROFILE), 1) 410 ifeq ($(USE_OPROFILE), 1)
407 OPTIONAL_COMPONENTS += OProfileJIT 411 OPTIONAL_COMPONENTS += OProfileJIT
408 endif 412 endif
OLDNEW
« no previous file with comments | « no previous file | tools/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698