This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12.0.0.20230529: update to debian:bookworm (#117)
* Docker image 瘦身 * fix Dockerfile * fix workflow * rm Symbolic Link * add file * Revert "Docker image 瘦身" * 12.0.0.20230529: update to debian:bookworm (#113) 1. 更新实验环境为 `debian:bookworm`、`clang-14`、`llvm-14` 2. 重构 `lib1. 更新实验环境为 `debian:bookworm`、`clang-14`、`llvm-14` 2. 重构 `librarian` 目录 3. 调整 `cmake_minimum_required`,与 `llvm-14` 对齐 4. 调整文档 5. 修复 #74 rarian` 目录 3. 调整 `cmake_minimum_required`,与 `llvm-14` 对齐 4. 调整文档 5. 修复 #74
- Loading branch information
WuK
authored
Nov 21, 2023
1 parent
c4ea7b1
commit 3a074b4
Showing
34 changed files
with
62 additions
and
55 deletions.
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
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
find_package(FLEX REQUIRED) | ||
flex_target(lexer lexer.l main.cc DEFINES_FILE lexer.hh) | ||
flex_target(lexer lexer.l ${CMAKE_CURRENT_BINARY_DIR}/main.cc | ||
DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/lexer.hh) | ||
add_executable(sysu-lexer ${FLEX_lexer_OUTPUTS}) | ||
install(TARGETS sysu-lexer) |
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 |
---|---|---|
@@ -1,10 +1 @@ | ||
set(libs sysy;sysu) | ||
foreach(lib IN LISTS libs) | ||
file(GLOB mains ${lib}/*.cc) | ||
add_library(${lib} SHARED ${mains}) | ||
install(TARGETS ${lib}) | ||
file(GLOB mains ${lib}/*.h) | ||
foreach(mainfile ${mains}) | ||
install(FILES ${mainfile} DESTINATION include/${lib}) | ||
endforeach() | ||
endforeach() | ||
add_subdirectory(lib) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,9 @@ | ||
set(libs sysy;sysu) | ||
foreach(lib IN LISTS libs) | ||
file(GLOB mains ${lib}/*.cc) | ||
add_library(${lib} SHARED ${mains}) | ||
install(TARGETS ${lib}) | ||
target_include_directories(${lib} | ||
PRIVATE ${CMAKE_SOURCE_DIR}/librarian/include) | ||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/librarian/include/${lib} TYPE INCLUDE) | ||
endforeach() |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "fcntl.h" | ||
#include "sysu/fcntl.h" | ||
#include <fcntl.h> | ||
|
||
#ifdef __cplusplus | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "stdio.h" | ||
#include "sysu/stdio.h" | ||
#include <stdio.h> | ||
|
||
#ifdef __cplusplus | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "stdlib.h" | ||
#include "sysu/stdlib.h" | ||
#include <stdlib.h> | ||
|
||
#ifdef __cplusplus | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "string.h" | ||
#include "sysu/string.h" | ||
#include <string.h> | ||
|
||
#ifdef __cplusplus | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "unistd.h" | ||
#include "sysu/unistd.h" | ||
#include <unistd.h> | ||
|
||
#ifdef __cplusplus | ||
|
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
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
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
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
Oops, something went wrong.