Changeset View
Changeset View
Standalone View
Standalone View
editors/coedit/files/patch-dastworx_build.sh
| --- dastworx/build.sh.orig 2017-07-14 05:55:36 UTC | --- dastworx/build.sh 2018-02-11 21:48:35.000000000 -0500 | ||||
| +++ dastworx/build.sh | +++ dastworx/build.sh 2018-02-12 12:01:10.311013000 -0500 | ||||
| @@ -1,13 +1,3 @@ | @@ -1,18 +1,3 @@ | ||||
| -#iz sources | -#iz sources | ||||
| -cd ../etc/iz/import/ | -cd ../etc/iz/import/ | ||||
| -iz=$(find `pwd` -type f -name \*.d) | -iz=$(find `pwd` -type f -name \*.d) | ||||
| -cd ../../../dastworx | -cd ../../../dastworx | ||||
| - | - | ||||
| -#dparse sources | -#dparse sources | ||||
| -cd ../etc/libdparse/src/ | -cd ../etc/libdparse/src/ | ||||
| -dparse=$(find `pwd` -type f -name \*.d) | -dparse=$(find `pwd` -type f -name \*.d) | ||||
| -cd ../../../dastworx | -cd ../../../dastworx | ||||
| - | - | ||||
| -#stdx-alloc sources | |||||
| -cd ../etc/stdx-allocator/source/ | |||||
| -stdxalloc=$(find `pwd` -type f -name \*.d) | |||||
| -cd ../../../dastworx | |||||
| - | |||||
| #dast sources | #dast sources | ||||
| cd src/ | cd src/ | ||||
| dast=$(find `pwd` -type f -name \*.d) | dast=$(find `pwd` -type f -name \*.d) | ||||
| @@ -16,12 +6,12 @@ cd ../ | @@ -21,9 +6,9 @@ | ||||
| echo building... | echo building... | ||||
| #build | #build | ||||
| -dmd ${dast[@]} ${dparse[@]} ${iz[@]} \ | -dmd ${dast[@]} ${dparse[@]} ${iz[@]} ${stdxalloc[@]} \ | ||||
| +%%LDMD2_CMD%% ${dast} \ | +%%LDMD2_CMD%% ${dast} \ | ||||
| -O -release -inline -boundscheck=off \ | -O -release -inline -boundscheck=off \ | ||||
| --Isrc -I../etc/iz/import -I../etc/libdparse/src \ | --Isrc -I../etc/iz/import -I../etc/libdparse/src -I../etc/stdx-allocator/source \ | ||||
| +-Isrc -I%%D_INCLUDE_DIR%% -L%%D_LIB_DIR%%/libiz.a -L%%D_LIB_DIR%%/libdparse.a \ | +-Isrc -I%%D_INCLUDE_DIR%% -L%%D_LIB_DIR%%/libiz.a -L%%D_LIB_DIR%%/libdparse.a \ | ||||
| -of../bin/dastworx | -of../bin/dastworx | ||||
| #cleanup | #cleanup | ||||
| rm ../bin/dastworx.o | |||||
| -echo ...done | |||||
| \ No newline at end of file | |||||
| +echo ...done | |||||