Browse Source

IPS-5 make prepare.sh work when called from elsewhere

IPS-5_experiment_dipatch_main_queue_deadlock
Andreas Buff 4 months ago
parent
commit
a6ef1caf80
2 changed files with 8 additions and 17 deletions
  1. +0
    -16
      Subprojects/PEPObjCTypes/PEPObjCTypes/build-linux/README.md
  2. +8
    -1
      Subprojects/PEPObjCTypes/PEPObjCTypes/build-linux/prepare.sh

+ 0
- 16
Subprojects/PEPObjCTypes/PEPObjCTypes/build-linux/README.md View File

@ -1,16 +0,0 @@
# WIP
## Required Preprocessor Macros
UNSUPPORTED_NS_CLOSED_ENUM
Required Code:
````
#ifdef UNSUPPORTED_NS_CLOSED_ENUM
#define NS_CLOSED_ENUM NS_ENUM
#endif
```
# ObjC On Linux
- No NS_CLOSED_ENUMS

+ 8
- 1
Subprojects/PEPObjCTypes/PEPObjCTypes/build-linux/prepare.sh View File

@ -1,3 +1,10 @@
# Build precompiled prefix header
clang -x objective-c-header PEPObjCGNUStepOptimizations.h -c -fPIC -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -I./obj/pEpObjCTypes.obj/PrecompiledHeaders/ObjC -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-runtime=gnustep-2.0 -fobjc-arc -g -O2 -fblocks -fobjc-runtime=gnustep-2.0 -fblocks -fconstant-string-class=NSConstantString -I. -I/home/user/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/System/Library/Headers -fblocks -x objective-c -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -o PEPObjCGNUStepOptimizations.h.gch
SCRIPT_DIR=$(dirname "$0")
CURRENT_DIR=$(pwd)
cd ${SCRIPT_DIR}
SCRIPT_DIR=$(pwd)
cd ${CURRENT_DIR}
clang -x objective-c-header ${SCRIPT_DIR}/PEPObjCGNUStepOptimizations.h -c -fPIC -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -I./obj/pEpObjCTypes.obj/PrecompiledHeaders/ObjC -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-runtime=gnustep-2.0 -fobjc-arc -g -O2 -fblocks -fobjc-runtime=gnustep-2.0 -fblocks -fconstant-string-class=NSConstantString -I. -I/home/user/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/System/Library/Headers -fblocks -x objective-c -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -o PEPObjCGNUStepOptimizations.h.gch

Loading…
Cancel
Save