SPI question for interfacing display unit

I want to interface the adafruit tft touch display breakout board(mentioned in the getting started guide) with hifive1.I dont want to use the arduino ide as well.

I am planning to develop the code in some text editors and will compile it through the terminal commands like “make software…& make upload…”.Since i have not started with freedom studio.

Is there library available for spi ? and can i use the sifive/cinco/…SPI libraries? i guess it is for arduino ide alone .Correct me if i am wrong!