If someone wanted to grow large quantities of food on Mars and they wanted to specify sunlight rather than nuclear or other sources, the two options I can think of are greenhouses and photovoltaic/LEDs.
Consider square kilometer types of areas:
Greenhouse windows would have to support the mechanical pressure of the whatever atmospheric pressure the plants required (let's say 1/3 Earth unless you have more authoritative numbers). Without Earth's warm air, the outside surface of greenhouse windows would be exposed to the infrared temperatures of space and the panes would have to do some thermal insulation also. These plants would suffer if it got too cold inside, and for optimum growth rate would the temperature need to be regulated carefully? Then there are concentrators to take the weaker Martian sunlight and focus it on individual plants for efficient use.
Compare to photovoltaics - could they be made robust against the low pressure and cold more easily than greenhouse windows?
Would stacking plants in 3D with LEDs be easier than spreading them out over kilometers of greenhouse floors? Would humidity and temperature control be easier and more efficient and total kilograms of water needed be lower in one configuration over the other?
There are several related questions here, but I believe that if an authoritative source comparing greenhouses to PV/LEDs exists, it will likely have considered all of these.