Skip to content

Commit

Permalink
ci: change lib order
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau committed Jan 26, 2025
1 parent ffe060f commit 880acfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 10
gcc --version
ls /usr/lib/ | grep math
- uses: actions/checkout@v4
- name: "Check format"
run: make check_fmt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ install: headers_install $(patsubst %, $(INSTALL_LIB_DIR)/libalmunecar_%.so, $(L
# Build shared library for each lib into build directory
$(LIB_BUILD_DIR)/lib%.so: $(OBJ_BUILD_DIR)/% | $(LIB_BUILD_DIR) $(OBJ_BUILD_DIR)
$(eval include libs/$*/deps.mk)
$(CC) $(LDFLAGS) -L$(LIB_BUILD_DIR) $(patsubst %, -l%, $(DEPS)) -o $@ $(wildcard $(OBJ_BUILD_DIR)/$*/*.o)
$(CC) $(LDFLAGS) $(wildcard $(OBJ_BUILD_DIR)/$*/*.o) -L$(LIB_BUILD_DIR) $(patsubst %, -l%, $(DEPS)) -o $@

# Build objects of each library into build dir
$(OBJ_BUILD_DIR)/%:
Expand Down

0 comments on commit 880acfe

Please sign in to comment.