forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request JuliaLang#50252 from JuliaLang/kp/fixes-191-full
Fixes for the `1.9.1-full` tarball
- Loading branch information
1 parent
147bdf4
commit de49415
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
diff --git a/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt b/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt | ||
index 0c5017c359d6..92777133e9de 100644 | ||
--- a/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt | ||
+++ b/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt | ||
@@ -12,23 +12,23 @@ if(NOT DEFINED ITTAPI_SOURCE_DIR) | ||
set(ITTAPI_SOURCE_DIR ${PROJECT_BINARY_DIR}) | ||
endif() | ||
|
||
-if(NOT EXISTS ${ITTAPI_SOURCE_DIR}/ittapi) | ||
- execute_process(COMMAND ${GIT_EXECUTABLE} clone ${ITTAPI_GIT_REPOSITORY} | ||
- WORKING_DIRECTORY ${ITTAPI_SOURCE_DIR} | ||
+if(NOT EXISTS ${ITTAPI_SOURCE_DIR}) | ||
+ execute_process(COMMAND ${GIT_EXECUTABLE} clone ${ITTAPI_GIT_REPOSITORY} ${ITTAPI_SOURCE_DIR} | ||
+ WORKING_DIRECTORY ${ITTAPI_SOURCE_DIR}/.. | ||
RESULT_VARIABLE GIT_CLONE_RESULT) | ||
if(NOT GIT_CLONE_RESULT EQUAL "0") | ||
message(FATAL_ERROR "git clone ${ITTAPI_GIT_REPOSITORY} failed with ${GIT_CLONE_RESULT}, please clone ${ITTAPI_GIT_REPOSITORY}") | ||
endif() | ||
-endif() | ||
|
||
-execute_process(COMMAND ${GIT_EXECUTABLE} checkout ${ITTAPI_GIT_TAG} | ||
- WORKING_DIRECTORY ${ITTAPI_SOURCE_DIR}/ittapi | ||
- RESULT_VARIABLE GIT_CHECKOUT_RESULT) | ||
-if(NOT GIT_CHECKOUT_RESULT EQUAL "0") | ||
- message(FATAL_ERROR "git checkout ${ITTAPI_GIT_TAG} failed with ${GIT_CHECKOUT_RESULT}, please checkout ${ITTAPI_GIT_TAG} at ${ITTAPI_SOURCE_DIR}/ittapi") | ||
+ execute_process(COMMAND ${GIT_EXECUTABLE} checkout ${ITTAPI_GIT_TAG} | ||
+ WORKING_DIRECTORY ${ITTAPI_SOURCE_DIR} | ||
+ RESULT_VARIABLE GIT_CHECKOUT_RESULT) | ||
+ if(NOT GIT_CHECKOUT_RESULT EQUAL "0") | ||
+ message(FATAL_ERROR "git checkout ${ITTAPI_GIT_TAG} failed with ${GIT_CHECKOUT_RESULT}, please checkout ${ITTAPI_GIT_TAG} at ${ITTAPI_SOURCE_DIR}") | ||
+ endif() | ||
endif() | ||
|
||
-include_directories( ${ITTAPI_SOURCE_DIR}/ittapi/include/ ) | ||
+include_directories( ${ITTAPI_SOURCE_DIR}/include/ ) | ||
|
||
if( HAVE_LIBDL ) | ||
set(LLVM_INTEL_JIT_LIBS ${CMAKE_DL_LIBS}) | ||
@@ -40,7 +40,7 @@ set(LLVM_INTEL_JIT_LIBS ${LLVM_PTHREAD_LIB} ${LLVM_INTEL_JIT_LIBS}) | ||
add_llvm_component_library(LLVMIntelJITEvents | ||
IntelJITEventListener.cpp | ||
jitprofiling.c | ||
- ${ITTAPI_SOURCE_DIR}/ittapi/src/ittnotify/ittnotify_static.c | ||
+ ${ITTAPI_SOURCE_DIR}/src/ittnotify/ittnotify_static.c | ||
|
||
LINK_LIBS ${LLVM_INTEL_JIT_LIBS} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters