mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
remove revisions.pl; we go with llvm releases now
This commit is contained in:
parent
c151d37365
commit
fd4899f46f
4 changed files with 4 additions and 28 deletions
|
@ -227,22 +227,6 @@ endif(CMAKE_MINOR_VERSION LESS 6)
|
|||
|
||||
add_executable(${LDC_EXE} ${LDC_SOURCE_FILES})
|
||||
|
||||
# generate revision info
|
||||
configure_file(
|
||||
${PROJECT_SOURCE_DIR}/revisions.pl.in
|
||||
${PROJECT_BINARY_DIR}/revisions.pl
|
||||
@ONLY
|
||||
)
|
||||
add_custom_target(
|
||||
gen_revs_h
|
||||
COMMAND ${PERL_EXECUTABLE} ${PROJECT_BINARY_DIR}/revisions.pl
|
||||
DEPENDS ${PROJECT_BINARY_DIR}/revisions.pl
|
||||
COMMENT "Generating revisions.h and llvm-version.h"
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/gen
|
||||
)
|
||||
add_dependencies(${LDC_EXE} gen_revs_h)
|
||||
#
|
||||
|
||||
set(LDC_EXE_NAME ${PROGRAM_PREFIX}${LDC_EXE}${PROGRAM_SUFFIX})
|
||||
|
||||
set_target_properties(
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
#include "lexer.h"
|
||||
#include "json.h"
|
||||
|
||||
#if IN_LLVM
|
||||
#include "gen/revisions.h"
|
||||
#endif
|
||||
|
||||
Global global;
|
||||
|
||||
Global::Global()
|
||||
|
@ -64,8 +60,8 @@ Global::Global()
|
|||
copyright = "Copyright (c) 1999-2010 by Digital Mars and Tomas Lindquist Olsen";
|
||||
written = "written by Walter Bright and Tomas Lindquist Olsen";
|
||||
version = "v1.063";
|
||||
ldc_version = LDC_REV;
|
||||
llvm_version = LLVM_REV_STR;
|
||||
ldc_version = "LDC trunk";
|
||||
llvm_version = "LLVM 2.8";
|
||||
global.structalign = 8;
|
||||
|
||||
// This should only be used as a global, so the other fields are
|
||||
|
|
|
@ -35,9 +35,6 @@
|
|||
#include "cond.h"
|
||||
#include "expression.h"
|
||||
#include "lexer.h"
|
||||
#if IN_LLVM
|
||||
#include "gen/revisions.h"
|
||||
#else
|
||||
#include "lib.h"
|
||||
|
||||
#if WINDOWS_SEH
|
||||
|
@ -100,8 +97,8 @@ Global::Global()
|
|||
;
|
||||
version = "v2.032";
|
||||
#if IN_LLVM
|
||||
ldc_version = LDC_REV;
|
||||
llvm_version = LLVM_REV_STR;
|
||||
ldc_version = "LDC trunk";
|
||||
llvm_version = "LLVM 2.8";
|
||||
#endif
|
||||
global.structalign = 8;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// which uses the llvm license
|
||||
|
||||
#include "gen/llvm.h"
|
||||
#include "gen/llvm-version.h"
|
||||
#include "llvm/LinkAllVMCore.h"
|
||||
#include "llvm/Linker.h"
|
||||
#include "llvm/LLVMContext.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue