Skip to content

Commit

Permalink
Fix #1427, Add default build/install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gskenned committed Nov 17, 2023
1 parent 0291622 commit 679c2c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mk-osal-no-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
mkdir -p ../build_osal
cd ../build_osal
cmake -DOSAL_SYSTEM_BSPTYPE=generic-linux \
-DCMAKE_INSTALL_PREFIX=../local \
../osal
make
make install

10 changes: 10 additions & 0 deletions mk-osal-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mkdir -p ../build_osal_test
cd ../build_osal_test
cmake -DENABLE_UNIT_TESTS=true \
-DOSAL_SYSTEM_BSPTYPE=generic-linux \
-DOSAL_CONFIG_DEBUG_PERMISSIVE_MODE=TRUE \
-DCMAKE_INSTALL_PREFIX=../local \
../osal
make
make test
make install

0 comments on commit 679c2c9

Please sign in to comment.