forked from pool/adaptivecpp
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ab664165f7 | |||
| e09a88cefe | |||
| 39769e4e07 | |||
| 9af42131dc | |||
| 2cd8145f48 | |||
| 7e7ba81832 | |||
| b019480dc4 | |||
| 98d967f6cc | |||
| 5258bbcf53 |
@@ -1,25 +0,0 @@
|
||||
From d7ab43ed1532db1ff04e5e7c324c83179d8318c3 Mon Sep 17 00:00:00 2001
|
||||
From: VaiTon <eyadlorenzo@gmail.com>
|
||||
Date: Mon, 18 Nov 2024 15:22:58 +0100
|
||||
Subject: [PATCH 2/3] CMake acpp-clang to MODULE
|
||||
|
||||
---
|
||||
src/compiler/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/compiler/CMakeLists.txt b/src/compiler/CMakeLists.txt
|
||||
index 96eb97f..faa7c50 100644
|
||||
--- a/src/compiler/CMakeLists.txt
|
||||
+++ b/src/compiler/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ else()
|
||||
set(REFLECTION_BUILTINS "")
|
||||
endif()
|
||||
|
||||
-add_library(acpp-clang SHARED
|
||||
+add_library(acpp-clang MODULE
|
||||
AdaptiveCppClangPlugin.cpp
|
||||
GlobalsPruningPass.cpp
|
||||
${SSCP_COMPILER}
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 2aeb2359bc3c94c0a2f7abe589f3fcb4a4b3958a Mon Sep 17 00:00:00 2001
|
||||
From: VaiTon <eyadlorenzo@gmail.com>
|
||||
Date: Mon, 18 Nov 2024 15:24:43 +0100
|
||||
Subject: [PATCH 3/3] Remove realpath in acpp
|
||||
|
||||
---
|
||||
bin/acpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/acpp b/bin/acpp
|
||||
index bab3917..04f51f0 100755
|
||||
--- a/bin/acpp
|
||||
+++ b/bin/acpp
|
||||
@@ -1935,7 +1935,7 @@ if __name__ == '__main__':
|
||||
print_error("acpp requires python 3.")
|
||||
sys.exit(-1)
|
||||
|
||||
- filename = os.path.basename(os.path.realpath(__file__))
|
||||
+ filename = os.path.basename(__file__)
|
||||
if filename == "syclcc":
|
||||
print_warning("syclcc is deprecated; please use acpp instead.")
|
||||
if filename == "syclcc-clang":
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
diff --git a/bin/acpp b/bin/acpp
|
||||
index 2368348..bab3917 100755
|
||||
--- a/bin/acpp
|
||||
+++ b/bin/acpp
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
'''
|
||||
*
|
||||
diff --git a/cmake/syclcc-launcher b/cmake/syclcc-launcher
|
||||
index b56341c..6083201 100755
|
||||
--- a/cmake/syclcc-launcher
|
||||
+++ b/cmake/syclcc-launcher
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
"""
|
||||
*
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/src/compiler/CMakeLists.txt b/src/compiler/CMakeLists.txt
|
||||
index 96eb97f..faa7c50 100644
|
||||
--- a/src/compiler/CMakeLists.txt
|
||||
+++ b/src/compiler/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ else()
|
||||
set(REFLECTION_BUILTINS "")
|
||||
endif()
|
||||
|
||||
-add_library(acpp-clang SHARED
|
||||
+add_library(acpp-clang MODULE
|
||||
AdaptiveCppClangPlugin.cpp
|
||||
GlobalsPruningPass.cpp
|
||||
${SSCP_COMPILER}
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:101237e10e366c61a6b7a97c3f188b7846d3e4f9c19868d6e77e6e0b802a06bb
|
||||
size 6225933
|
||||
Reference in New Issue
Block a user